Results 1 to 3 of 3
I am installing web server in a remote dedicated server Fedora 3 I need to change the default document root (/var/www/html) to /hsphere/local/home (I have lot of scripts with this ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-17-2005 #1
- Join Date
- Oct 2005
I am installing web server in a remote dedicated server Fedora 3
I need to change the default document root (/var/www/html) to /hsphere/local/home (I have lot of scripts with this root)
It is not working for me: test Fedora pages opens instead of index.php
This is what I did and its results
I made these changes from default file
DirectoryIndex index.php index.html index.htm index.html.var
Both doc root have similar index.php
When I set the default doc root, index is diplayed but
if I set the new one Fedora's test page is opened
Files an dirs in both roots are
-rw-r--r-- 1 root root
Thank you for any help
- 10-18-2005 #2
- Join Date
- Apr 2005
if you have an apache user which is intented for owning www folders and file, try to as root #chown apache.apache -R /hsphere
apache will become the owner of /hsphere and all files and folders on it..
then see what happens next..
- 10-18-2005 #3
Make sure you have Directory section with this too:
<Directory "/hsphere/local/home"> ... Order allow,deny ... </Directory>Linux user #126863 - see http://linuxcounter.net/