I cannot get my .htaccess file to work on one of my linux servers.
The file just seems to be ignored and I have set AllowOverride AuthConfig
etc.. This version of apache was build with apache toolbox with front page
extensions.
I can get .htaccess to work ok on another linux/apache server where apache
was installed by default (mandrake 7). Both configs have name based virtual
hosts. I noticed there are a lot of .htaccess files under the
front page directories. e.g. _vti_cnf. Will this cause a problem?
should they be removed?
I have included, what I believe to be, the relevant parts of the config file
apache version: 1.3.14
ResourceConfig /dev/null
AccessConfig /dev/null
ServerName jupiter
DocumentRoot "/home/httpd/html"
<Directory />
Options FollowSymLinks Indexes Includes
</Directory>
<Directory "/home/httpd/html">
Options Indexes FollowSymLinks MultiViews
AllowOverride AuthConfig FileInfo Limit Options
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.html Index.htm index.htm index.shtml index.php
Index.php index.cgi default.html</IfModule>
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
<IfModule mod_alias.c>
Alias /icons/ "/usr/local/apache/icons/"
<Directory "/usr/local/apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/local/apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModule>
NameVirtualHost 192.9.200.42
<VirtualHost intranet>
ServerAdmin [EMAIL PROTECTED]
ServerName intranet
DocumentRoot /home/httpd/html/intranet
ErrorLog /home/httpd/html/intranet/log/err.log
Options Indexes
ServerAdmin tamm@jupiter
ScriptAlias /_vti_bin/_vti_adm/ /home/httpd/html/intranet/_vti_bin/_vti_adm/
ScriptAlias /_vti_bin/_vti_aut/ /home/httpd/html/intranet/_vti_bin/_vti_aut/
ScriptAlias /_vti_bin/ /home/httpd/html/_vti_bin/
</VirtualHost>
<VirtualHost forum>
ServerAdmin [EMAIL PROTECTED]
ServerName forum
DocumentRoot /home/httpd/html/forum
ErrorLog /home/httpd/html/forum/logs/err.log
Options Indexes
ServerAdmin tamm@jupiter
</VirtualHost>
Alias /doc/ /usr/doc/
ScriptAlias /_vti_bin/_vti_adm/ /home/httpd/html/_vti_bin/_vti_adm/
ScriptAlias /_vti_bin/_vti_aut/ /home/httpd/html/_vti_bin/_vti_aut/
ScriptAlias /_vti_bin/ /home/httpd/html/_vti_bin/
ScriptAlias /~tamm/_vti_bin/_vti_adm/
/home/tamm/public_html/_vti_bin/_vti_adm/
ScriptAlias /~tamm/_vti_bin/_vti_aut/
/home/tamm/public_html/_vti_bin/_vti_aut/
ScriptAlias /~tamm/_vti_bin/ /home/tamm/public_html/_vti_bin/
ScriptAlias /~stepheno/_vti_bin/_vti_adm/
/home/stepheno/public_html/_vti_bin/_vti_adm/
ScriptAlias /~stepheno/_vti_bin/_vti_aut/
/home/stepheno/public_html/_vti_bin/_vti_aut/
ScriptAlias /~stepheno/_vti_bin/ /home/stepheno/public_html/_vti_bin/
AddHandler cgi-script .cgi
AddType text/html .shtml
AddHandler server-parsed .shtml
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------