Quote:
Originally Posted by stukov
@businessgeeks:
Yeah but:
Code:
# DocumentRoot "/usr/local/www/data"
<Directory "/usr/local/www/data">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
@dctr:
Just to make sure, you did restart the Apache process after editing the httpd.conf file?
|
Yup, I did.
I am very confused from the post above.
Code:
<Directory />
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/usr/local/www/data">
Do you want me to change that... to say..
Code:
##########
#comment all this out? since it will be below...
#<Directory />
# AllowOverride None
# Order Deny,Allow
# Deny from all
#</Directory>
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Virtualhost 111.222.333.444:80>
ServerName domain.com
DocumentRoot /path/to/documentroot
<Directory /path/to/documentroot>
AllowOverride All
Order Allow,Deny
Allow from All
</Directory>
</VirtualHost>
It's so late (4:30am) and I am trying to do my best, bare with me.