| Posted: 05 April 2007 at 6:45am | IP Logged
|
|
|
I have tried to move my site to a new server. This server uses IIS
where the previous server uses Apache. Therefore the .htaccess file
needs to be changed into httpd.ini. Unfortunately the instructions
within Apachs and IIS are not identical. I do not have a technical
background and I would really appreciate it if someone could support me
in changing the .htaccess file into an operational httpd.ini file
The contents of the .htaccess file is the following
RewriteBase /
RewriteRule ^([0-9\-]+)\.css$ _templates/css.php?template=$1
RewriteRule ^(.+)\/rssstyles.xsl$ _rss/styles.php?rssurl=$1&url=$1
RewriteRule ^([A-Za-z0-9]+)\/dashboard(\/)?$ mod/adash/index.php?user=$1
RewriteRule ^([A-Za-z0-9]+)(\/)?$ profile/index.php?profile_name=$1 RewriteRule ^([A-Za-z0-9]+)\/profile(\/)?$ profile/index.php?profile_name=$1 RewriteRule ^([A-Za-z0-9]+)\/tags(\/)?$ search/personaltags.php?profile_name=$1 RewriteRule ^(([A-Za-z0-9])[A-Za-z0-9]+)\/rss\/?$ _rss/static.php?username=$1&userref=$2&type=profile RewriteRule ^([A-Za-z0-9]+)\/rss\/(.+)\/?$ profile/rss2.php?profile_name=$1&tag=$2
RewriteRule ^([A-Za-z0-9]+)\/newsclient\/?$ _rss/subscriptions.php?profile_name=$1 RewriteRule ^([A-Za-z0-9]+)\/newsclient\/all\/?$ _rss/index.php?profile_name=$1 RewriteRule ^([A-Za-z0-9]+)\/newsclient\/all\/skip=([0-9]+)$ _rss/index.php?profile_name=$1&feed_offset=$2
RewriteRule ^([A-Za-z0-9]+)\/feeds\/?$ _rss/subscriptions.php?profile_name=$1 RewriteRule ^([A-Za-z0-9]+)\/feeds\/all\/?$ _rss/index.php?profile_name=$1 RewriteRule ^([A-Za-z0-9]+)\/feeds\/all\/skip=([0-9]+)$ _rss/index.php?profile_name=$1&feed_offset=$2
RewriteRule ^([A-Za-z0-9]+)\/weblog\/?$ _weblog/index.php?weblog_name=$1 ReWriteRule ^([A-Za-z0-9]+)\/weblog\/skip=([0-9]+)$ _weblog/index.php?weblog_name=$1&weblog_offset=$2 RewriteRule ^([A-Za-z0-9]+)\/weblog\/category\/([^\/]+)\/?$ _weblog/index.php?weblog_name=$1&filter=$2 ReWriteRule
^([A-Za-z0-9]+)\/weblog\/category\/([^\/]+)\/skip=([0-9]+)$
_weblog/index.php?weblog_name=$1&filter=$2&weblog_offset=$3 RewriteRule ^([A-Za-z0-9]+)\/weblog\/archive\/?$ _weblog/archive.php?weblog_name=$1 RewriteRule
^([A-Za-z0-9]+)\/weblog\/archive\/([0-9]+)\/([0-9]+)\/?$
_weblog/archive_month.php?weblog_name=$1&year=$2&month=$3 RewriteRule ^([A-Za-z0-9]+)\/weblog\/friends\/?$ _weblog/friends.php?weblog_name=$1 ReWriteRule ^([A-Za-z0-9]+)\/weblog\/friends\/skip=([0-9]+)$ _weblog/friends.php?weblog_name=$1&weblog_offset=$2 RewriteRule ^([A-Za-z0-9]+)\/weblog\/interesting\/?$ _weblog/interesting.php?weblog_name=$1 ReWriteRule ^([A-Za-z0-9]+)\/weblog\/interesting\/skip=([0-9]+)$ _weblog/interesting.php?weblog_name=$1&weblog_offset=$2 RewriteRule ^(([A-Za-z0-9])[A-Za-z0-9]+)\/weblog\/rss\/?$ _rss/static.php?username=$1&userref=$2&type=weblog RewriteRule ^([A-Za-z0-9]+)\/weblog\/rss\/(.+)\/?$ _weblog/rss2.php?weblog_name=$1&tag=$2&modifier=is RewriteRule ^([A-Za-z0-9]+)\/weblog\/rssnot\/(.+)\/?$ _weblog/rss2.php?weblog_name=$1&tag=$2&modifier=not RewriteRule ^[A-Za-z0-9]+\/weblog\/([0-9]+)\.html$ _weblog/view_post.php?post=$1 RewriteRule ^[A-Za-z0-9]+\/weblog\/([0-9]+)\.html.([0-9]+)$ _weblog/view_post.php?post=$1&commentpage=$2
RewriteRule ^tag\/(.+)\/?$ search/all.php?tag=$1 RewriteRule ^rsstag\/(.+)\/?$ search/rss.php?tag=$1 RewriteRule ^tag\/(.+)/ecl\/?$ search/ecl.php?tag=$1
RewriteRule ^([A-Za-z0-9]+)\/friends\/?$ _friends/index.php?friends_name=$1 RewriteRule ^([A-Za-z0-9]+)\/foaf\/?$ _friends/foaf.php?friends_name=$1
RewriteRule ^([A-Za-z0-9]+)\/communities\/?$ _communities/index.php?friends_name=$1 RewriteRule ^community\/([0-9]+)\/?$ _communities/community.php?community_id=$1
RewriteRule ^([A-Za-z0-9]+)\/files\/?$ _files/index.php?files_name=$1 RewriteRule ^([A-Za-z0-9]+)\/files\/([0-9]+)\/?$ _files/index.php?files_name=$1&folder=$2 RewriteRule
^([A-Za-z0-9]+)\/files\/([0-9\-]+)\/([0-9]+)\/(.+)$
_files/download.php?files_name=$1&folder=$2&filename=$4&id=$3 RewriteRule ^(([A-Za-z0-9])[A-Za-z0-9]+)\/files\/rss\/?$ _rss/static.php?username=$1&userref=$2&type=files RewriteRule ^([A-Za-z0-9]+)\/files\/rss\/(.+)\/?$ _files/rss2.php?files_name=$1&tag=$2
RewriteRule ^_icon\/user/([-0-9]+)$ _icons/icon.php?id=$1 RewriteRule ^_icon\/user/([-0-9]+)\/([A-Za-z])\/([0-9]+)$ _icons/icon.php?id=$1&constraint1=$2&size1=$3 RewriteRule
^_icon\/user/([-0-9]+)\/([A-Za-z])\/([0-9]+)\/([A-Za-z])\/([0-9]+)$
_icons/icon.php?id=$1&constraint1=$2&size1=$3&constraint2=$4&size2=$5 RewriteRule ^_icon\/file/([-0-9]+)$ _files/icon.php?id=$1
# Some blogging clients probe Wordpress or MoveableType endpoints, # redirect them to the Elgg xml-rpc endpoint # RewriteRule xml-rpc.php _rpc/RPC2.php RewriteRule mt/mt-xmlrpc.cgi _rpc/RPC2.php
Currently I am using Version 2.8.0.47 (ISAPI_Rewrite.dll) Full Version
Thanks for your help
Leo
__________________ We are offering high quality business cards printing, brochures, letterhead, postcards, posters, booklets and more with trade prices<a href="http://www.printexpress.co.uk">www.printexpress.co. uk</a>
|