windows server and pretty urls error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
davemof

windows server and pretty urls error

Post by davemof »

My client has a windows server, and I can't seem to get pretty urls to work, to safe my life.

I hate windows servers, but unfortunately  my hands are tied in this case, if anyone can give me any help it would be much appreciated. I currently am getting a 404 error when trying to access anything other than the front page.

My config settings are:

$config['assume_mod_rewrite'] = true;

$config['page_extension'] = '/';

$config['internal_pretty_urls'] = true;

$config['use_hierarchy'] = true;

$config['query_var'] = 'page';

and my .htaccess file is

Options +FollowSymLinks
RewriteEngine on
RewriteBase /

# include a trailing slash
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]

# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]

Having thought about it though, I don't think that my server will be running apache (and obviously it wont then support .htaccess files). I'm an extreme novice on windows servers, but can they run php without apache.

Any help will be gratefully recieved.

Regards

David
Last edited by davemof on Thu Feb 15, 2007 11:24 am, edited 1 time in total.
Pierre M.

Re: windows server and pretty urls error

Post by Pierre M. »

I don't bet my life on Windows...

To save yours, try some tests :
http://forum.cmsmadesimple.org/index.ph ... l#msg43943
But without Apache, you are lost.

Pierre M.
Locked

Return to “CMSMS Core”