Re: Where is the code for this page?

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

 



On Thu, Aug 18, 2011 at 22:57, Daniel Brown <danbrown@xxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux