Re: RewriteRule/Cond Assistance

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

 



On 7/16/07, Mike @ Levrah <sid_apache@xxxxxxxxxx> wrote:
Hey guys.

It looks like I'm not the only one having rewriterule/cond fun lately. LOL

I'm having a tough time figuring this out, and it's probably
something simple that I'm making harder than it is.

Rather than post examples of what I've tried - since none of them
work - and it'll show my major ignorance hehe...


I think it always works better when you start by showing us your best
guess at the correct config and explain exactly what happens when you
try it (including log excerpts).

But something to get you started could be
RewriteRule ^/index.php - [L]
RewriteRule ^/assets - [L]
RewriteRule ^/support - [L]
RewriteRule ^/(.+) /index.php?$1

(I'm just guessing that your index page is php.)

Joshua.

---------------------------------------------------------------------
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