|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
O.K.. Here is my problem.
I run a primary server at /home/httpd/html and I use .htaccess to restrict a few directories. That works great!!! But.. I also run serveral Virutal Domains on another volume /host/domains. Now if I place a .htaccess file in ANY of the directories on this volume it is not read. It is like it is not ever there.. Now I have come to the conlusion that the directives in the httpd.conf file tell Apache to look for the .htaccess file in the specified document root directory. Which of course is not the /host volume True?? Not True? I have tried placing the AccessFileName .htaccess in the Virtual Host directives area but with no luck. Any thoughts? Prayers? Spiritual Enlightenment? |
|
#2
|
|||
|
|||
|
Start here -> http://www.apache.org/docs/mod/core.html#allowoverride
Within <VirtualHost 123.456.7.89>, you need to have the following: <Directory "/host/domains/www.foobar.com"> Options All MultiViews AllowOverride All # or AllowOverride AuthConfig Order allow,deny Allow from all </Directory> |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > .htaccess not being accessed!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|