vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=300709

htaccess rewrite does't work
by Calahan
01 Aug 2013 15:00

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

final kaoss 01 Aug 2013 15:14

try this.

AddType application/x-httpd-php htm html php
AddHandler application/x-httpd-php .htm .html

Calahan 01 Aug 2013 15:28

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?

final kaoss 01 Aug 2013 15:34

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.


Calahan 01 Aug 2013 17:32

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

final kaoss 01 Aug 2013 17:42

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


All times are GMT. The time now is 16:19.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.