Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Helicon Ape
 Helicon Tech : Helicon Ape
Subject Topic: filename rewrite Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Michel
Newbie
Newbie


Joined: 03 September 2008
Location: Netherlands
Online Status: Offline
Posts: 12
Posted: 22 February 2010 at 3:31pm | IP Logged Quote Michel

A customer wants the following:

He wants to 'rewrite' sitemap.php to sitemap.xml, is the following then correct? (this doesn't work )

RewriteEngine on
RewriteRule ^sitemap.xml$ /sitemap.php [L]
AddType application/x-httpd-php .htm .xml .rss

Thanks,
Michel

 

Back to Top View Michel's Profile Search for other posts by Michel
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1535
Posted: 23 February 2010 at 4:17am | IP Logged Quote Vyacheslav

Hello,
Please clarify your IIS version and try the following test rule:
Code:
RewriteEngine on
RewriteRule .? - [G]


If you get �410 Gone� response�Ape was configured well and works. Otherwise it�s most likely that you have a misconfiguration. We need to see error.log, web.config and applicationHost.config if is�t IIS7 or IIS metabase if it�s IIS6.
You may send these files by email to support@helicontech.com

Thank you.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum