Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 Aug 2013, 14:00
Calahan Calahan is offline
 
Join Date: Jun 2007
htaccess rewrite does't work

Hello
I am using an older plugin which rewrites a php file to a html

The htaccess which did this on my old server is


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Unfortunately it doesn't work on my new server.
If I click on the link the browser tries to download the php file
Reply With Quote
  #2  
Old 01 Aug 2013, 14:14
final kaoss final kaoss is offline
 
Join Date: Apr 2006
try this.

AddType application/x-httpd-php htm html php
AddHandler application/x-httpd-php .htm .html
Reply With Quote
  #3  
Old 01 Aug 2013, 14:28
Calahan Calahan is offline
 
Join Date: Jun 2007
I added it to the htaccess
If I access the files now it directly starts a download of the files


Do I have to change something in my httpd.conf or php.ini?
Reply With Quote
  #4  
Old 01 Aug 2013, 14:34
final kaoss final kaoss is offline
 
Join Date: Apr 2006
If that doesn't work, this is said to be working. Let me know if it does the job for you or not.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by final kaoss; 01 Aug 2013 at 16:28.
Reply With Quote
  #5  
Old 01 Aug 2013, 16:32
Calahan Calahan is offline
 
Join Date: Jun 2007
Thank you for your help but I doesn't work
If I write this in the htaccess file and enter my URL it shows me the PHP-code of the file
Reply With Quote
  #6  
Old 01 Aug 2013, 16:42
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Alright then I suggest you continue your search here, maybe you can find something that works. GL!

https://www.google.com/search?q=rewr...hrome&ie=UTF-8
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:10.

Layout Options | Width: Wide Color: