Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache rewrite problem |
|
Author |
|
wizardontherun
Joined: 29 Apr 2009 Posts: 1 Location: Daytona Beach, FL
|
Posted: Wed 29 Apr '09 14:51 Post subject: Apache rewrite problem |
|
|
I have a windows 2003 with apache 2.2.9 and php, mysql. Iam using a cms "concrete5", it works fine but when i try to use apache rewrite to clean up the URL, my pages are 404, the error log's displays the following:
---
[Wed Apr 29 08:38:22 2009] [error] [client 216.199.31.235] (20023)The given path was above the root path: Cannot map GET /favicon.ico HTTP/1.1 to file
--- below is my rules in the http.conf ---
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
---------------------------------
Thanks
Frank |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 30 Apr '09 9:36 Post subject: |
|
|
Well you can disable it for that file
RewriteCond %{REQUEST_URI} !^/favicon.ico [NC] |
|
Back to top |
|
|
|
|
|
|