Jump to content


Friendly URLs... help


  • You cannot reply to this topic
2 replies to this topic

#1 xmitchx

    Etomite Forum Newbie

  • Member
  • 42 posts

Posted 27 August 2004 - 07:51 PM

Hi,

i currently have a simple htaccess file:

AddType application/x-httpd-php .html

Thats wonderful and all and I know I could simply add etomites friendly url mod_rewrite code in there and itd work fine but I dont want ALL (^(.*)$) pages going to it.

Is there a way I can make it so that (^p_(.*)$) goes to it or something? Because currently I have vB (vBulletin) in the same directory and it has a .html extension and I dont want etomite and vB mixing each other up. :ph34r:

#2 Guest_Alex_*

  • Guests

Posted 27 August 2004 - 08:18 PM

If you copy the exact code over, mod_rewrite will first check if the entered URL is an existing file. So if thle exists, it'll send that file, and if not, then it will forward to Etomite.

#3 xmitchx

    Etomite Forum Newbie

  • Member
  • 42 posts

Posted 27 August 2004 - 10:01 PM

Alex, on Aug 27 2004, 12:18 PM, said:

If you copy the exact code over, mod_rewrite will first check if the entered URL is an existing file. So if thle exists, it'll send that file, and if not, then it will forward to Etomite.

Thank you for that :2c: I never looked into how mod_rewrite really worked <_<

EDIT: Hey Alex, it works great :eto:





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users