APACHE: AliasMatch not work, regex not right?
I've add a line into httpd.conf
AliasMatch /icon.sheet.gif* /usr/local/apache2/icons/icon.sheet.gif #apachectl graceful give the address to firefox http://localhost/icon.sheet.gif but apache return 404 not found Can anybody give me a hand ? thanks a ton |
Perhaps try
AliasMatch ^/icon.sheet.gif(.*) /usr/local/apache2/icons/icon.sheet.gif That will match anything like /icon.sheet.gif, /icon.sheet.gif3423421, /icon.sheet.gif2, etc and it will serve icon.sheet.gif in all cases. Is that more or less what you want? |
All times are GMT -5. The time now is 07:27 PM. |