Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Root folder is /usr/htdocs instead of /var/www/localhost/htd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
joedestroyer
n00b
n00b


Joined: 14 Oct 2010
Posts: 2

PostPosted: Sun Jul 08, 2012 2:20 pm    Post subject: Root folder is /usr/htdocs instead of /var/www/localhost/htd Reply with quote

Would anyone know why my /var/www/localhost/htdocs folder is not longer used and instead apache is using /usr/htdocs?
I am using apache 2.2.22
My configuration for default_vhost.include is as follow


DocumentRoot "/var/www/localhost/htdocs"

# This should be changed to whatever you set DocumentRoot to.
<Directory "/var/www/localhost/htdocs">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
Options Indexes FollowSymLinks

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride All

# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
_________________
Joe Destroyer rules
Back to top
View user's profile Send private message
22decembre
Guru
Guru


Joined: 08 May 2010
Posts: 308
Location: Paris, banlieue sud (Massy et alentours)

PostPosted: Sun Jul 08, 2012 2:39 pm    Post subject: Reply with quote

Did the home directory of apache2 changed ?
_________________
Portable Gentoo installé depuis ~fevrier 2010, kde4 ( doc : http://www.22decembre.eu/gentoo-portable/)
Serveur Maison Gentoo depuis ~avril 2010 (doc : http://www.22decembre.eu/gentoo-serveur/)
http://www.22decembre.eu
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 7679

PostPosted: Sun Jul 08, 2012 4:56 pm    Post subject: Reply with quote

What is the output of grep -rn DocumentRoot /etc/apache2/?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum