FAQ
•
Search
•
User Groups
•
Forum Admins
•
Smilies List
•
Statistics
•
Rules
•
Login
•
Register
H
ome
FAQs
L
inks
N
ews
Online Tools
phpBB
Scripts
T
utorials
A
bout us
C
ontact us
Contribute
Credits
Link to us
[Apache] mod_rewrite
Forum Index
»
Web Servers
Author
Message
slash
Junior WebHelper
Joined: 25 Jul 2003
Posts: 1
Posted: Sat Jul 26, 2003 11:45 am (21 years, 5 months ago)
looking on the net i find very userfull thik - hov to make easy URL like this:
http://xyz.com/pagename/parametr1/parametr2/index.php
not like this:
http://xyz.com/index.php?page=pagename¶metr1=parametr1¶mter2=parametr2
this is only ex. bu idea of this is to make easy and search/user friendly URL.
I want to do using mod_rewrite something like this:
any request form
http://xyz.com/..../index.php
will open
http://xyz.com/index.php
where .... is anythink, user in his browser will have URL like this
http://xyz.com/..../index.php
but in real will be open
http://xyz.com/index.php
- in this file script will be translate URL and use data stored in him.
Now I using something like this, but this don't work:
Code:
DocumentRoot D:/Apache2/www/site/
ServerName site.comm
RewriteEngine on
RewriteRule ^.*$ D:/Apache2/www/site/index.php [l]
Can anyone help me ??
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
Posted: Mon Jul 28, 2003 3:15 pm (21 years, 5 months ago)
you need to use urls, instead of the path on the server, so just /index.php instead of d:/Apache2/etc...
________________________________
It's turtles all the way down...
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Forum Index
»
Web Servers
Jump to:
Select a Forum
» 4WebHelp
Announcements
Our Site: Feedback & Questions
» General
Chit Chat
Freedom2Surf
Advertisements
» Support
General
Website Reviews
Client-Side Coding
Server-Side Coding
Databases
Web Servers
Hosting & Domain Names
Graphics & Flash
You
cannot
post new topics in this forum.
You
cannot
reply to topics in this forum.
You
cannot
edit your posts in this forum.
You
cannot
delete your posts in this forum.
You
cannot
vote in polls in this forum.
Page generation time: 0.114155 seconds :: 17 queries executed :: All Times are GMT
Powered by
phpBB
2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme