Re: mod_rewrite question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Aug 29, 2008, at 10:10 AM, Krist van Besien wrote:

On Fri, Aug 29, 2008 at 15:21, Jason Pruim <japruim@xxxxxxxxxx> wrote:


Look in to your log:

It says:
[127.0.0.1/sid#1802648][rid#1836238/initial] (4) RewriteCond:
input='GET' pattern='^TRACE' => not-matched

What exactly do you have in your config? Looks like you have a
RewriteCond somewhere, that is not matched, and because of this the
RewriteRule is not executed.


Hi Krist,

Sorry for the delay, there was a holiday in the U.S. here is what the relevant section of my httpd.conf file says:

<Directory "/">
        Options +FollowSymLinks
        AllowOverride All
</Directory>
        RewriteEngine on
        RewriteLog "/var/log/httpd/rewrite.log"
        RewriteLogLevel 9
        RewriteRule  /(.*)       p.php?purl=$1



If I move the rewrite stuff inside the <Directory></Directory> spot then it won't restart apache for me. :)

Any ideas?

--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
11287 James St
Holland, MI 49424
www.raoset.com
japruim@xxxxxxxxxx





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux