Hi folks.
Helping out a community group get a basic CMS up and running. Their hosting is on a IIS server and I only have ftp access, so no control panels etc.
I've been trying to block access to the xml files as per the normal apache .htaccess methods and also a web.config file placed in the root of GS as per a forum post here.
Also tried adding a http handler to exclude xml
I usually dabble on apache/linux boxes so this is a bit beyond what I know. Should this be working or do I need to configure the hosting beyond just an ftp option?
Also is this the main reason for the non-apache warning? I haven't noticed anything else not working between my development xampp and the hosting. I haven't tried fancy urls and that's not a priority.
It is not allowing directory listings but not sure if it's a server setting or actually looking at the .htaccess file. Any suggestions to test if there's any translation of the .htaccess on the server.
Thanks
Kraves
Helping out a community group get a basic CMS up and running. Their hosting is on a IIS server and I only have ftp access, so no control panels etc.
I've been trying to block access to the xml files as per the normal apache .htaccess methods and also a web.config file placed in the root of GS as per a forum post here.
Code:
<?xml version="1.0"?>
<configuration>
<location path="data">
<system.web>
<authorization>
<deny users="*" />
</authorization>
</system.web>
</location>
<location path="data/uploads">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
</configuration>
Also tried adding a http handler to exclude xml
Code:
<httpHandlers>
<add path="*.xml" verb="*" type="System.Web.HttpForbiddenHandler" />
</httpHandlers>
I usually dabble on apache/linux boxes so this is a bit beyond what I know. Should this be working or do I need to configure the hosting beyond just an ftp option?
Also is this the main reason for the non-apache warning? I haven't noticed anything else not working between my development xampp and the hosting. I haven't tried fancy urls and that's not a priority.
It is not allowing directory listings but not sure if it's a server setting or actually looking at the .htaccess file. Any suggestions to test if there's any translation of the .htaccess on the server.
Thanks
Kraves