logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: mod_rewrite perblem
Author
hanpedro



Joined: 22 Apr 2007
Posts: 4

PostPosted: Tue 06 Nov '07 9:33    Post subject: mod_rewrite perblem Reply with quote

mod_rewrite perblem

--------------------------------------------------------------------------------

I want to have two urls on this code at one account:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^([a-zA-Z0-9]+)$ test_a/index\.php\?gr_id=$1
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^([a-zA-Z0-9]+)$ test_b/index\.php\?gr_id=$1
</IfModule>

But this code is not working.



Let me know how can I make this work ?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 07 Nov '07 15:33    Post subject: Reply with quote

What is not working? Error message in the error log?
Sure that you load mod_rewrite in httpd.conf?
Back to top


Reply to topic   Topic: mod_rewrite perblem View previous topic :: View next topic
Post new topic   Forum Index -> Apache