[users@httpd] enable .htaccess on virtual host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
I want to enable ".htaccess on my virtual host but I don't seem to get it working but it is enable outside the virtual host. Here is my httpd.conf and ssl.conf.
I need you help.

httpd.conf:

<Directory />
    Options Indexes FollowSymLinks
    AllowOverride All
</Directory>
<Directory "/var/apache/docs">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>


ssl.conf:
<VirtualHost xxx.xxx.x.xx:443>

#   General setup for the virtual host
DocumentRoot "/var/apache/docs/virtualhost/"
ServerName virtualhost.com
ServerAdmin root@xxxxxxxx
ErrorLog /var/apache/logs/virtualhost-error_log
TransferLog /var/apache/logs/virtualhost-access_log
ScriptAlias /cgi-bin/ "/var/apache/docs/virtualhost/cgi-bin/"
AddHandler cgiwrap .cgi
        <Directory "/var/apache/docs/virtualhost/cgi-bin">
                AllowOverride All
                Options Indexes FollowSymLinks ExecCGI
                SetHandler cgi-script
                Order allow,deny
                Allow from all
        </Directory>

--
Daniel Prieto
Phone: 813-974-3307
Fax: 813-974-5456
University of South Florida
CS&E Dept. Sys Admin
Check CSE FAQ! <http://www.cse.usf.edu/staff/techSupport/index.htm>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux