Web Hosting Forum | Lunarpages
News: October 6, 2008 - Submit Your Site for the October 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 12, 2008, 09:19:15 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: RewriteRule question  (Read 59 times)
nimasdj
Trekkie
**
Offline Offline

Posts: 16


« on: July 07, 2008, 12:30:12 AM »

I want to run blah.php via htaccess that it runs everywhere when any page loads.
I searched lots of documents and I see they are using regular expression to pass values to php files to make a seo friendly link. But I don't need to pass any values to my php, I want to simply run blah.php via my .htaccess. Please simply tell me how the htaccess command should look like?

I tried this RewriteRule ^.*$ blah.php [L] but this is an infinite redirect which I don't want. please advice.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM