Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 24, 2012, 11:49:42 AM

Pages: [1]   Go Down
  Print  
Author Topic: .htaccess not working  (Read 650 times)
NomanFSD
Newbie
*
Offline Offline

Posts: 1


« on: November 17, 2011, 02:56:00 AM »

Dear All,

Can any one help on this topic related to .htaccess ?

I got a .htaccess issue on LunarPages hosting. Our URL is "http://heta.lunariffic.com/~fsdso0/ ",  I think there is internal redirecting issue with .htaccess. I am using code follwing code in my .htaccess.

RewriteEngine On
RewriteRule ^(.*)\.html$ $1.php [L]

Check my original current website http://www.fsdsolutions.com/index.html, it is working perfectly with same .htaccess internally. I mean showing .html extension in address bar and worked .php file on back-end, this is what I need.

Please find the "Internal Redirect .php files to .html files" in http://www.askapache.com/htaccess/modrewrite-tips-tricks.... link that may help.

Thanks
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: