htaccess comment help please

Discussion in 'Apache' started by JonSpade, Feb 27, 2007.

  1. #1
    I need a little help with a script upgrade. The support for the script is taking to long for me so I figured I could get some help. Also when I did try I got it wrong so I was wondering if you guy could help me out. This was the last message I got from them but I cant seem to get it right.

    When you finish migration, comment with "#" symbol all "RewriteRule"
    strings in your .htaccess - so your website will be switched to
    version 2.

    -------------------------------------------------------------

    I tried putting # in front of everything that has rewrite but that didnt work. I will be the first to say I dont know anything about scripts and this file. So Thanks in advance.

    RewriteEngine on
    RewriteBase /

    RewriteRule ^xxxxx\.html?$ xxxxx.php [T=application/x-httpd-php,L]

    RewriteRule ^xxxxxxxx\.html?$ xxxxxxxx.php [T=application/x-httpd-php,L]

    RewriteRule ^/?xxx/?$ /featured.php [T=application/x-httpd-php,L]




    RewriteRule ^/?xxx/index\.html?$ /xxxxxxxx.php [T=application/x-httpd-php,L]
    RewriteRule ^xxxx([0-9]+)\.html$ /xxxxxxxx.php?page=$1 [T=application/x-httpd-php,L]

    RewriteRule ^xxxx-xxx/?$ /featured.php [T=application/x-httpd-php,L]
    RewriteRule ^xxxx-xxx/index\.html?$ /xxxxxxxx.php [T=application/x-httpd-php,L]

    RewriteRule ^xxxx-xxx/([0-9a-zA-Z_\-]+)/?$ /xxx.php?cat_name=$1 [T=application/x-httpd-php,L]
    RewriteRule ^xxxx-xxx/([0-9a-zA-Z_\-]+)/xxxxx\.html?$ /cat.php?cat_name=$1 [T=application/x-httpd-php,L]

    Im suppose to
    RewriteRule ^xxxx-xxx/([0-9a-zA-Z_\-]+)/page([0-9]+)\.html?$ /cat.php?cat_name=$1&page=$2 [T=application/x-httpd-php,L]


    Thank you guys for any help you can give.
     
    JonSpade, Feb 27, 2007 IP
  2. JonSpade

    JonSpade Guest

    Messages:
    27
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Still no reply from the script support so I still need help. Anyone who can do this and show me where the comment # tags are suppose to go will get a bonus for helping me.
     
    JonSpade, Mar 1, 2007 IP