Hello, everyone!
I got a problem that the directoryindex don't work with the alias(phpMyAdmin & webalizer).
I tried localhost/phpmyadmin/index.php and localhost/webalizer/index.html and it is ok. Besides, such problem don't exist in DocumentRoot. It just happened with alias.
The following is part of my httpd.conf:
I even tried Options Indexes but it just dont work.
Please, your help will be very much appreciated.
I got a problem that the directoryindex don't work with the alias(phpMyAdmin & webalizer).
I tried localhost/phpmyadmin/index.php and localhost/webalizer/index.html and it is ok. Besides, such problem don't exist in DocumentRoot. It just happened with alias.
The following is part of my httpd.conf:
Code:
LoadModule php5_module libexec/apache22/libphp5.so
<IfModule dir_module>
<IfModule mod_php5.c>
DirectoryIndex index.html index.htm index.php
</IfModule>
</IfModule>
DocumentRoot "/usr/local/www/html"
<Directory />
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/usr/local/www/html">
Options Includes ExecCGI FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule alias_module>
Alias /phpmyadmin/ "/usr/local/www/phpMyAdmin/"
<Directory "/usr/local/www/phpMyAdmin">
Options -Indexes FollowSymLinks
Order deny,allow
Deny from all
Allow from 192.168.3.0/24
Allow from 127.0.
</Directory>
Alias /webalizer/ "/usr/local/www/webalizer/"
<Directory "/usr/local/www/webalizer">
AllowOverride All
Options -Indexes
Order deny,allow
Deny from all
Allow from 192.168.3.
Allow from 127.0.
</Directory>
</IfModule>
Please, your help will be very much appreciated.