did you know Apache virtual folder which created using Alias command is higher than a real folder with same name under a VirtualHost??
say you have a virtual folder "scripts" made using command
Alias /scripts/ /usr/share/toaster/htdocs/scripts/
then under your VirtualHost folder, there is the same folder "scripts"
<VirtualHost *:80>
ServerAdmin pakogah@pala.bo-tak.info
DocumentRoot /home/www/myweb
ServerName www.myweb.com
ErrorLog logs/www.myweb.com-error_log
CustomLog logs/www.myweb.com-access_log common
</VirtualHost>
with full path /home/www/myweb/scripts, if you have a file named countdown.php under it. you won't able to access it via http://www.myweb.com/scripts/countdown.php because the folder scripts is pointed to virtual folder "Alias" scripts
so if you have create an Alias make sure it very unique, that no VirtualHost is using it, or if you already using it, then you have change the folder under your VirtualHost to another name to make it accessible.
I have learn my lesson, the hard way......
say you have a virtual folder "scripts" made using command
Alias /scripts/ /usr/share/toaster/htdocs/scripts/
then under your VirtualHost folder, there is the same folder "scripts"
<VirtualHost *:80>
ServerAdmin pakogah@pala.bo-tak.info
DocumentRoot /home/www/myweb
ServerName www.myweb.com
ErrorLog logs/www.myweb.com-error_log
CustomLog logs/www.myweb.com-access_log common
</VirtualHost>
with full path /home/www/myweb/scripts, if you have a file named countdown.php under it. you won't able to access it via http://www.myweb.com/scripts/countdown.php because the folder scripts is pointed to virtual folder "Alias" scripts
so if you have create an Alias make sure it very unique, that no VirtualHost is using it, or if you already using it, then you have change the folder under your VirtualHost to another name to make it accessible.
I have learn my lesson, the hard way......
