Jump to content

mod rewrite option L does not works


divinequran

Recommended Posts

Hi,

The mod rewrite rule works perfectly. But the option L does not hides the rewite rule it just prints as it is.

 

http://www.divinequran.com/koran/1-Al-Fatiha.html

 

It has to display the above url in the address bar, Instead of it displays the rewrite code as it is. Please help it is very urgent.

Link to comment
https://forums.phpfreaks.com/topic/175758-mod-rewrite-option-l-does-not-works/
Share on other sites

  • 2 weeks later...

Options +Indexes +FollowSymLinks
RewriteEngine on
RewriteBase /

RewriteCond %{REQUEST_URI} ^/(.*).html
RewriteRule ^(.*).html http://www.divinequran.com/koran/quran.php?name=$1 [L]

                                                                 

I have tried using with RewriteBase and without RewriteBase, both din't work on the server. If it is a server issue then what could be the reason?

 

hi,

 

My server does support mod_proxy, It has the following entries.

 

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so

 

entries in it httpd.conf. so the required modules are enabled.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.