Ubuntu Servers :: Modify The Httpd.conf File But It's Empty And Wordpress Installation

Jun 17, 2011

I'm installing Wordpress and I want Hosting Multiple Sites with them. For that I need modify the httpd.conf file but it's empty. Where I can make that changes? These are the changes:

1. Type: LoadModule rewrite_module /libexec/mod_rewrite.so
2. Find the <VirtualHost> section in the httpd.conf file.
3. Find a line in the <VirtualHost> section of the httpd.conf that looks like this: AllowOverride None
3. Replace that line with this line: AllowOverride FileInfo Options
4. On a new line, type ServerAlias *.[URL].
5. Save the httpd.conf file and close it.

View 1 Replies


ADVERTISEMENT

CentOS 5 :: Httpd: Could Not Open Configuration File /etc/httpd/conf/httpd.conf: No Such File

Nov 9, 2009

accidentally I do something wrong with my server and the httpd folder missing and I need it to setup my mail server and anyone can help me what can I do without reinstalling my Cent OS? Here is the error msg :

[root@mydomain etc]# service httpd stop
Stopping httpd: [FAILED]
[root@mydomain etc]# service httpd restart

[code]....

View 3 Replies View Related

Ubuntu Servers :: Httpd.conf Not Found While Running .PHP File?

Jul 28, 2010

While trying to run the file in PHP I am getting below error. httpd.conf not found Following directories (and its subdirectories) are accesible via Apache:

View 3 Replies View Related

Ubuntu Servers :: Desktop 10.04 Home Server- Editing Httpd.conf File - Fails

Jul 8, 2010

I turned my home PC running Ubuntu 10.04 into a server, and so i am so lost, after reading like a 10-20 different guides and/or official docs, I am totally lost.

All I wanted was to create a custom 404 error page...i read about how people edited .htaccess files to customize error pages, i tried and failed also, editing apache2.conf, I got lost and i dont wanna mess up everything and also, how you're supposed to not touch either of those as its not how it should be done and instead you need to edit httpd.conf and i did and FAILED! again...

Also how do I make it so that I can make subdomain(s) on my site? and wth is a name server and where do I get one?

View 4 Replies View Related

Ubuntu Servers :: Httpd.conf Not Working After Upgrade To 9.04?

May 7, 2010

Any changes in the way httpd.conf works in 9.04Yesterday I updated from 8.04 to 8.10 and then to 9.04. All works fine, except for Apache Virtual sites.I had several defined in my httpd.conf file, which I used for testing clients' websites.ince the upgrade the virtual sites are not recognised, and all access is done at the original level /var/wwwAny changes in the way httpd.conf works? checked the Apache docs, but found nothing.Here's the httpd.conf I've been using:

<Directory /var/www/clientname/htdocs/products>
AllowOverride All
</Directory>

[code]....

View 4 Replies View Related

Ubuntu Servers :: RewriteRule Works On .htaccess - But Not On Httpd.conf

Sep 29, 2010

We are trying to migrate from a centos server to ubuntu server, but we have some problems with an application called Topincs [url].

The installation is quite simple and I did it several time (but with ubuntu it's the first time).

Probably there are some parameters to set that I don't know, but even if the installation works fine and I can see the home page, the application doesn't work because RewriteRules aren't applied.

First I tried to ensure that mod_rewrite works fine and I found a weird situation: rewriterules work if they are in .htaccess but don't work if they are directly in http.conf.

View 4 Replies View Related

Fedora Servers :: Find The Httpd.conf Files In FC11?

Aug 6, 2009

Where can I find the httpd.conf files in FC11 ??

View 1 Replies View Related

Fedora Servers :: Suexec Set Up In Apache, Snippits From Httpd.conf?

Jun 25, 2011

I'm having a problem with mod_suexec in Fedora 15.I have suexec set up in Apache, snippits from httpd.conf:

Code:
LoadModule suexec_module modules/mod_suexec.so
...

[code]....

View 3 Replies View Related

Ubuntu :: Find The File /etc/rsyslog.conf So Can Modify It

Jun 6, 2011

How do i find the file /etc/rsyslog.conf so i can modify it.

View 1 Replies View Related

Ubuntu :: Syslog.conf Empty File

Mar 15, 2010

I was checking my syslog.conf file recently and it seems that it is an empty file >_> it shouldn't be correct?

View 2 Replies View Related

Ubuntu Servers :: Get Wordpress To Work With Lighttpd And Wordpress Hostname

Jun 27, 2010

I'm trying to get wordpress to work with lighttpd and my home test server... <name>.dnsalias.org as my IP is not static... When I install wordpress ( via apt-get ) and set it up through install script like this:

bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress <name>.dnsalias.org It is accessible from outside of my network but not from local one where the sever ip is 10.0.0.200 From outside it is using correctly domain <name>.dnsalias.org but from inside when I try to use ip 10.0.0.200 from other pc on net it will not work..a s it still using <name>.dnsalias.org in all links... Also I would like to have it in <name>.dnsalias.org/wordpress as I have another test site in <name>.dnsalias.org/<test_Site> which by thee way works from inside and outside of my network.... its just wordpress ...

I have followed this guide: [URL] but its for apache... I spend whole night searching for some solution and now I'm dead tired and you are my last hope ...( ....Obi Wan Kenobi ) So does someone running wordpress in setup like I described above, if yes

View 2 Replies View Related

General :: What Is The Use Of /etc/sysconfig/httpd Conf File In Apache Server

Aug 4, 2010

what is the role of /etc/sysconfig/httpd configuration file in apache server .

View 2 Replies View Related

General :: Modify A File Like /etc/gdm/custom.conf From The Shell Or A Script?

Jun 22, 2010

I want to modify a file like /etc/gdm/custom.conf from the shell or a script.

# GDM configuration storage
[xdmcp]
[debug]
[daemon]
AutomaticLoginEnable=true;
AutomaticLogin=username;

But the idea is that I can add a line to a section and it check if the section is defined, (add the definition if not), the property is defined, let it undefine (erase the line), (and delete the section header if there is no property defined), etc...

I didn't find anything except gconftool-2 but it do not explain how to modify other files. (there is a shema file there).

there isn't a program/script to achieve this, but can easyly be made for every config file, If someone do something like that, with a little database of which markup use each file, it could become really popular.

View 3 Replies View Related

Slackware :: Typo In As-installed /etc/httpd/httpd.conf?

Dec 24, 2010

I'm new to Apache configuration so could be misunderstanding but shouldn't the characters highlighted in red below be removed?

Code:

View 9 Replies View Related

OpenSUSE :: Configuration File Proftpd.conf Is Empty?

Oct 1, 2010

I just installed proftpd using webpin but when i tried to gonfigure it ,i figured out that the configuration file proftpd.conf is empty, is it about permission ?i just dont get it!

View 1 Replies View Related

CentOS 5 Server :: Loading Multiple Virtual Host Conf Files From Httpd.conf?

Jun 1, 2009

I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:

In my httpd.conf file, at the very end, I have the line

Include conf/vhosts/vhost_*.conf

However, when I run apache checkconfig or try to start apache, it gives me the error:

httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied

It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.

View 3 Replies View Related

Debian :: Cant Find Anything In Apache2.conf Or Httpd.conf Files?

Jul 25, 2010

phpmyadmin files are in usr/share/phpmyadmin but i cant find anything in my apache2.conf or httpd.conf files that point to that directory.How do I find the route taken from the Server root "ServerRoot "/etc/apache2"" to the phpmy admin files.

View 5 Replies View Related

Server :: Change The Configuration In Httpd.conf File With Out Affect Current Status Of Http Service?

Jan 27, 2011

I need to change the some configuration in httpd.conf file with out affect any current status of http service.

View 3 Replies View Related

Ubuntu Servers :: Error When Loading "sudo Gedit Httpd.conf"?

May 24, 2011

I've installed apache2 and and when i access my URL from outside using www.proxy-ervice.de i just get a webpage with Index of /so i've run the command sudo gedit /etc/apache2/httpd.conf which give me the error: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file'/root/.local/share/recently-used.xbel.2EUJVV': No such file or directory(gedit:2509):Gtk-WARNING **: Attempting to set the permissions of`/root/.local/share/recently-used.xbel', but failed: No such file or directorymy httpd.conf is as follows,Userdir public_htmlOptions +IndexesOptions AllServerName localhost

<Directory "/home/gav/public_html/">
Order allow,deny
Allow from all

[code]....

View 1 Replies View Related

Ubuntu Servers :: Using TShark And Grep - Output Empty File?

Jul 13, 2011

I am not sure why this does not work..
tshark |grep 'string'
Gives me what I want but
tshark |grep 'string' >/tmp/outputfile
Gives me an empty file.

View 3 Replies View Related

Fedora Servers :: Can't Access Or Modify File Unless Directory Mode Is 777 And Files Are 666

Nov 8, 2010

I have a multi user system for my roommates and myself that has separate folders for each of us. I've got user authentication working with samba, but unless I set every file and folder readable/writeable by all users, I can't browse it or edit the files.This isn't ideal as the shares are open to other users access, so I'm hoping there's a way to keep folders at 750 and files at 660 while allowing samba users to browse, delete and edit.Also, the samba share is actually a mounted NFS share from another server. Both the NFS server and the Samba server have the same users/uid's. When a file is created from a Windows host via the Samba client, the NFS server's permissions do show that the correct user owns the files, but since the files aren't mode 666 but 640 I can't edit or delete the file.

View 4 Replies View Related

Ubuntu :: Unable To Make Changes In Httpd.conf

Apr 24, 2010

I have installed XAMPP on my ubuntu machine, I typed nautilus in the command line and from there I tried to change the httpd.conf file from "/opt/lampp/etc" but it does not allow me to change the contents of the file. Error attached with this post.

View 5 Replies View Related

Fedora Servers :: Can't Upload File To Empty Home Directory

Feb 1, 2009

I just installed FC10 and then used yumex to install the vsftpd FTP daemon package. I'm using the vsftpd.conf file that came with the distribution, and its almost identical to one I copied from my FC2 machine's working set-up. When I try to FTP in as a known system user I'm presented with my home directory /home/myusername/. The directory appears empty to the FTP program, but isn't in reality. I can't upload a file to the empty home directory. I can move up the directory hierarchy to /home/, but again that appears as an empty directory.

I don't think it's a vsftpd.conf file issue. I've tried everything I can there. Could it have something to do with permissions? I fiddled with those, but couldn't make an FTP directory listing work.

[code]....

View 5 Replies View Related

Ubuntu :: Modify Xorg.conf Directives In 10.10?

Feb 21, 2011

I'm trying to improve the functionality of my mouse in my installation of Ubuntu 10.10 desktp 64-bit running inside a VMware workstation VM running on a Windows 7 64-bit host. I stumbled upon some instructions suggesting changing a xorg.conf directive (specifically, change the mouse protocol from "imps/2" to "explorerps/2") which I'd like to try out. However there is no xorg.conf file in Ubuntu 10.10. I tried using Xorg -configure to generate the file and placing it in /etc/X11/xorg.conf, but it seems to make no effect. Using "xinput list" the mouse is still listed as imps/2 even after I changed the xorg.conf file and rebooted. It seems Ubuntu 10.10 ignores the xorg.conf file completely? If that's the case, is it possible to manually specify this setting that used to belong to xorg.conf at all?

View 2 Replies View Related

Red Hat / Fedora :: How To Let Apache Know Which Httpd.conf To Be Used

Jan 19, 2009

We have apache installed at a directory other than the default location. There are two httpd.conf files on the server, one at the apache installation directory, and the other one is the default one at /etc/httpd/conf. The apache ran very well with the customized httpd.conf before, but after I installed php 5, the server seems taking the default httpd.conf and doesn't display the html pages which are installed at our apache directory. How to let the server know not to use the default httpd.conf and use the customized one instead?

View 3 Replies View Related

General :: Shell Scripting \ (test If A File Is Empty, If It Is Then Display "file Is Empty" Otherwise Display "file Is Not Empty")?

Oct 5, 2010

I am a final year student doign Computer systems engineering and just been introduced to linux. While still strugling to catch up with the commands, I am now given an assignment under shell scripting.I seriously am strugling to understand this question, can you please assist me.Here follows the assignment:

Operating Systems III
Some tips
e.g. (test if a file is empty, if it is then display "file is empty" otherwise display

[code]....

View 10 Replies View Related

Ubuntu Servers :: No Path In Smb.conf File

Mar 21, 2010

I successfully shared a subdirectory of my home directory, using GNOME under Ubuntu 8.04 LTS Desktop. What drives me crazy is that I can't find this directory listed in /etc/samba/smb.conf, in a "path" line. Please tell me where is this directory specified, since smb.conf seems to be the only samba config file.

View 5 Replies View Related

Ubuntu Servers :: Where Did My Resolv.conf File Go?

May 8, 2010

I tried to setup a dyndns, and ever since I tried to get that setup, I can't access my webmin, or access /etc/hosts/resolv.conf. But I can still access my samba shares I had created before this happened.

View 5 Replies View Related

Fedora :: New/backup Copy Of Httpd.conf ?

Oct 20, 2009

I modified my httpd.conf file without making a backup. Apache runs fine but I am having a perplexing problem with drupal and want to try a vanilla httpd.conf file. Where can I get a 'virgin' configuration file for fedora 10?

View 1 Replies View Related

General :: Backing Up Httpd.conf On CentOS 5

Jan 13, 2011

How to back up my httpd.conf from my server to my computer and only found one solution via a google search

[url]

I typed in locate httpd.conf and see that it resides in /usr/local/apache/conf/httpd.conf so I assume I would type $ cd /usr/local/apache/conf $ sudo cp -p httpd.conf httpd.conf.bak

I wanted to confirm this with an expert before I do damage that I cannot reverse.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved