Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.
Apache 2.2.3 config:
RewriteEngine on RewriteRule ^alice.html$ bob.html
http://192.168.10.150:81/bob.html is returned normally, but http://192.168.10.150:81/alice.html doesn't get rewritten and shows a not found error. Why?
<VirtualHost *:81> DocumentRoot /var/www/domain.com ServerName domain.com ErrorLog logs/domain.com-error_log CustomLog logs/domain.com-access_log common RewriteEngine On RewriteLog logs/rewrite.log RewriteLogLevel 9 </VirtualHost>
192.168.10.100 - - [03/Dec/2013:15:06:06 +0600] [192.168.10.150/sid#8f045f0][rid#9824cc0/initial] (2) init rewrite engine with requested uri /alice.html 192.168.10.100 - - [03/Dec/2013:15:06:06 +0600] [192.168.10.150/sid#8f045f0][rid#9824cc0/initial] (1) pass through /alice.html
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.