Closed Thread
Results 1 to 2 of 2

Thread: .htaccess rewrite condition question.

  1. #1
    lambada's Avatar
    lambada is offline x10 Elder lambada is an unknown quantity at this point
    Join Date
    Mar 2006
    Location
    Caister, Gt Yarmouth, Norfolk, ENGLAND
    Posts
    1,222

    .htaccess rewrite condition question.

    I have a nice working re-write going except for one small glitch

    Here's the htacess file I have:
    Code:
    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.samwal.x10hosting.com
    AuthUserFile /backup/home/lambada/public_html/_vti_pvt/service.pwd
    AuthGroupFile /backup/home/lambada/public_html/_vti_pvt/service.grp
    AddType application/x-httpd-php-source .phps
    
    RewriteEngine On
    RewriteRule http://www.samuels-space.info/(.*) v2/index2.php?parameters=$1

    Now my style pages need to be exempt from this - they are all stored in v2/styles/
    HOw can I stop the server rewriting requests to this folder?
    Thanks

    lambada
    Lambada - the former Account Manager (before I resigned)




  2. #2
    lambada's Avatar
    lambada is offline x10 Elder lambada is an unknown quantity at this point
    Join Date
    Mar 2006
    Location
    Caister, Gt Yarmouth, Norfolk, ENGLAND
    Posts
    1,222

    Re: .htaccess rewrite condition question.

    Found a way, I just added another htacess file with
    modrewrite Off
    in the /v2/styles folder!

    I guess i'm learning about K.I.S.S. now!

    :lockd:
    Lambada - the former Account Manager (before I resigned)




Closed Thread

Similar Threads

  1. default .htaccess
    By Fedlerner in forum Computers & Technology
    Replies: 9
    Last Post: 09-05-2007, 09:10 PM
  2. SQL Question
    By DizzyTechnology in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 01-16-2007, 07:56 PM
  3. .htaccess rewrite rule
    By theblazingangel in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 03-03-2006, 11:34 AM
  4. Question about Phpbb and welcom
    By Mr. Coolkat in forum Free Hosting
    Replies: 2
    Last Post: 10-17-2005, 12:46 PM
  5. Mambo question
    By MtReload in forum Free Hosting
    Replies: 5
    Last Post: 03-20-2005, 10:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers