Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > .htaccess

Reply
Thread Tools

.htaccess

 
 
damezumari
Guest
Posts: n/a
 
      08-13-2008
I am trying to write a .htaccess file to do this:

http://easyquestion.net/sharealink/d...ari/sl_add.php
redirected to
http://easyquestion.net/sharealink/s...?id=damezumari

and

http://easyquestion.net/sharealink/damezumari
redirected to
http://easyquestion.net/sharealink/s...?id=damezumari

I have tried

Options +Indexes
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*).php$ index.php?id=$1 [L,QSA]

with very little success.

Kind regards,

Jan Nordgreen
 
Reply With Quote
 
 
 
 
damezumari
Guest
Posts: n/a
 
      08-13-2008
Thanks for the tip!

I have posted my query at alt.apache.configuration and regex.

Regards,

Jan Nordgreen
 
Reply With Quote
 
 
 
 
John Hosking
Guest
Posts: n/a
 
      08-13-2008
Ed Mullen wrote:
> Ed Mullen wrote:
>> unsummarized wrote:
>>> Thanks for the tip!
>>>
>>> I have posted my query at alt.apache.configuration and regex.
>>>


He's posted a regex at alt.apache.configuration?

>>
>> HATH.

>
> Sigh. Typos. Can't imagine how I managed to turn "Happy To Help" into
> HATH. Sigh.
>
> Fingers faster than than a speeding bullet. And, apparently, faster
> than my brain!


Yes, but -- and this is the critical question -- is your *brain* faster
than a speeding bullet?

IYSWIM


--
John
Pondering the value of the UIP: http://improve-usenet.org/
Possessive "its" has no apostrophe. Even on the Internet.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57