Jump to content

rewrite on windows server 2003


citpes

Recommended Posts

Hey guys

 

My laptop running winXP Pro poped its HD this morning, and im trying to get the only other free computer in the office setup so I can finish doing some work.

It is a windows server 2003 installation, and I cant get the rewrite rules working.  I have enabled the mod_rewrite module, and added this to the httpd.conf

<Directory "C:/Webbase/webcan_code/">
            Options Indexes FollowSymLinks MultiViews
            AllowOverride All
            Order allow,deny
            Allow from all
</Directory>

that is the correct directory.  I have done this exact same thing on my XP laptop, and it worked fine, but I am getting a "400, bad request" error everytime I try it on the server 2003 installation.

 

this is the .htaccess

RewriteEngine On

RewriteRule ^(.*).htm$							index.php	[L]
RewriteRule ^(.*).php$							index.php	[L]
RewriteRule ^(core_images|backup|conf|custom|smarty|scripts)/(.*)	index.php 	[L]

is there anything im doing obviously wrong!  This is frustrating as I got it all setup on XP quickly without any issues, but its not working on this OS!

Link to comment
Share on other sites

There are no errors coming through in the log files either.

I am using apache 1.3.17

please dont just suggest an upgrade to apache 2, i realise that 1 is old, but that isnt a good enough reason why this isnt working now!

thanks in advance guys

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.