logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache rewrite problem
Author
wizardontherun



Joined: 29 Apr 2009
Posts: 1
Location: Daytona Beach, FL

PostPosted: Wed 29 Apr '09 14:51    Post subject: Apache rewrite problem Reply with quote

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: 7294
Location: Germany, Next to Hamburg

PostPosted: Thu 30 Apr '09 9:36    Post subject: Reply with quote

Well you can disable it for that file

RewriteCond %{REQUEST_URI} !^/favicon.ico [NC]
Back to top


Reply to topic   Topic: Apache rewrite problem View previous topic :: View next topic
Post new topic   Forum Index -> Apache