Re: Where is the code for this page?
| From: | Dotan Cohen | Date: | Thu, 18 Aug 2011 20:13:48 +0000 |
| Subject: | Re: Where is the code for this page? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314559@lists.php.net to get a copy of this message | ||
On Thu, Aug 18, 2011 at 22:57, Daniel Brown <danbrown@php.net> wrote:
> Check the RewriteCond and RewriteRule entries in the .htaccess
> file in that directory. If there are none, check parent directories..
>
Two things for the fine archives:
1) I found this in .htaccess:
RewriteRule ^(.+)$ vbseo.php [L,QSA]
If anyone wants to see spaghetti, go google vbseo.php. It looks like
Perl. Batman Perl.
2) I learned a new trick today! Grep this/that syntax:
cat .htaccess | grep "RewriteCond\|RewriteRule"
That's a backslash-pipe double operator in there. Easy to remember:
they're both on the same key.
Thanks.
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com