Jump to content

.htaccess URL Rewrite


Dragosvr92

Recommended Posts

Thanks

 

The redirection from

http://localhost/Track.php Works

 

Just a small problem tho.......

 

it redirects to http://localhost/Track/

And on submit it redirects to this

 

http://localhost/Track/Track/79.113.108.166

 

That Front Slash From the end of this link seems to cause it

http://localhost/Track/

 

if you Browse to

http://localhost/Track (without the slash)

it works correctly

 

Thanks again and sorry for this long thread and questions

 

Edit:

 

i think i fixed it

 

i changed :

RewriteRule . /Track/%1? [NC,R,L]

to

RewriteRule . /Track%1? [NC,R,L]

 

 

================================

 

Could you please tell me how may i get the Script Working on my Windows Machine also?

 

 

i am not able to browse to any of this links

http://localhost/Track.php

http://localhost/Track

http://localhost/Track/79.113.108.166

 

they all give me a 404 Error

 

Not Found

The requested URL /Track/79.113.108.166 was not found on this server.

the code is place into a .htaccess file otherwise it wouldnt work for me

it must need some modules activated but i have no idea which

i only activated the Rewrite_module

there are other modules activated that came with the wamp settings

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.