Hi all.
I have a very simple mod_rewrite .htaccess rule to transform urls like
domain.com/new/ to domain.com/index.php?page=new.
Unfortunately, it does not seem to be working :(
.htaccess syntax
RewriteEngine on
RewriteCond %{REQUEST_SCRIPT} !-f
RewriteCond %{REQUEST_SCRIPT} !-d
Hi all.
I am trying to have apache (2.2.14-1 from Debian) redirect any request to
a certain page. In the server root I have the single file park.html and
I want that all requests for resources (documents as well as folders) on
that domain be redirected to that particular page.
To be specific:
*
On Sat, November 14, 2009 6:01 pm, Philip Wigg wrote:
Hi,
Try using mod_rewrite. This configuration should work...
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/park.html$
RewriteRule (.*) /park.html [L, R]
This redirects any request except park.html. Note that if park.html
contains an