pretty url on Zeus server
Posted: Wed Oct 24, 2007 6:33 am
Hi,
I have to change the url and used .htaccess file to change it. It worked fine on an apache server but I have to set the cms on a Zeus server where the .htaccess file need to written according to Zeus script.
Has any one worked before on Zeus server. I need help urgently. My htaccess file is as follows-
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
# 301 Redirect all requests that don't contain a dot or
trailing slash to
# 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 ^(.+).html$ index.php?page=$1 [QSA]
Thanks in advance
I have to change the url and used .htaccess file to change it. It worked fine on an apache server but I have to set the cms on a Zeus server where the .htaccess file need to written according to Zeus script.
Has any one worked before on Zeus server. I need help urgently. My htaccess file is as follows-
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
# 301 Redirect all requests that don't contain a dot or
trailing slash to
# 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 ^(.+).html$ index.php?page=$1 [QSA]
Thanks in advance