Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Mar 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help with htaccess work-around

    Yahoo will not allow .htaccess files on their servers. I need to have the following htaccess string work, but I don't know how to accomplish this:

    RewriteEngine On
    RewriteRule ^([^/]{2})/(.*)$ websitetranslator/index.php?lang=$1&url=$2 [L]

    websitetranslator is the folder that index.php is in.

    I think that the "rewrite rule" is what is critical, but I am not a programmer and have no experience with php.

    Can anyone please help me with this?
    Last edited by fxjox; 03-07-2007 at 06:43 PM. Reason: added rewrite engine line

  • #2
    Senior Coder Len Whistler's Avatar
    Join Date
    Jul 2002
    Location
    Vancouver, BC Canada
    Posts
    1,323
    Thanks
    26
    Thanked 100 Times in 100 Posts
    .htaccess has nothing to do with PHP. I would recommend changing your web host.
    Leonard Whistler

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    905
    Thanks
    23
    Thanked 5 Times in 5 Posts
    not really a decent work around for this im afraid

    if you are considering a fully functional php host, chuck me a pm and il point you in the right direction.

    cheers


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •