Forum Moderators: phranque
When I enter the url http://www.example.com/some-data.html I go to that file instead of http://www.example.com/some-more-data.html that I am hopeing to see.
<VirtualHost *:80>
DocumentRoot /usr/local/www/vhosts/example.com/htdocs
ServerName example.com
ServerAlias www.example.com
ServerAlias 10.10.10.10
ServerAdmin webmaster@example.com
LogFormat COMBINED
ErrorLog /usr/local/www/vhosts/example.com/logs/error_log
TransferLog /usr/local/www/vhosts/example.com/logs/access_log
HostNameLookups off
RewriteEngine on
RewriteRule ^some-data\.html$ some-more-data.html
<Directory "/usr/local/www/vhosts/example.com/htdocs">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin /usr/local/www/vhosts/example.com/cgi-bin
<Directory "/usr/local/www/vhosts/example.com/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
No error messages and no clues when I restart apache. the url rewrite just doesn't happen.
Thanks for any help you can give.
If you get a server error, you should check your server error log, as it will likely tell you what the problem is.
Jim
[edited by: jdMorgan at 12:36 am (utc) on Oct. 20, 2006]