Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.