RewriteCond not working ...
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
To
:
users@xxxxxxxxxxxxxxxx
Subject
: RewriteCond not working ...
From
: Marcelo Custódio <
marcelocustodio@xxxxxxxxx
>
Date
: Fri, 17 Oct 2014 10:45:52 -0400
Reply-to
:
users@xxxxxxxxxxxxxxxx
hey I need a condition + rule like this: wheter I go to
www.example.com
it serves me index.php but otherwise if I go to
www.example.com/my-article
it points me out to show_post.php?url="">
I´ve tried this:
http://apaste.info/6i2
. Please note RewriteRule ^viewpost-([^/]*)$ show_post.php?url="" [L] is just a workaround and not my final intention ( it works when I request
www.example.com/viewpost-my-article
but my intention is
www.example.com/my-article
)
Thanks in advance !
Prev by Date:
Re: Apache Upgrade
Next by Date:
Apache HTTPD sends a 400 the client gets a 200
Previous by thread:
Apache Upgrade
Next by thread:
Apache HTTPD sends a 400 the client gets a 200
Index(es):
Date
Thread
[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]