Installation and deployment
Version 7.x > Installation and deployment > Virtual directory - FTP content View modes: 
User avatar
Member
Member
Guenter - 8/23/2013 3:34:15 AM
   
Virtual directory - FTP content
Hi,

I tried to add a virtual directory in IIS 8.0 to map some FTP content (only images, videos, html pages), but unfortunately I also get the Kentico login page.

I tried to add a location element into web.config:

<location path="ftpcontent">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
<httpHandlers>
<clear/>
<add verb="*" path="*" type="CMS.WebDAV.WebDAVHandler, CMS.WebDAV"/>
</httpHandlers>
<httpModules>
<remove name="XHtmlModule" />
</httpModules>
</system.web>
</location>

and also created a web.config in the virtual directory, but with no success.

How can I map the content?

User avatar
Member
Member
Guenter - 8/23/2013 4:43:32 AM
   
RE:Virtual directory - FTP content
Also tried this:

<location path="ftpcontent">
<system.webServer>
<security>
<authorization>
<add accessType="Allow" users="*" roles="" />
</authorization>
</security>
</system.webServer>
</location>

Not working

User avatar
Member
Member
Guenter - 8/23/2013 4:53:58 AM
   
RE:Virtual directory - FTP content
<location path="ftpcontent">
<system.webServer>
<security>
<authorization>
<add accessType="Allow" users="*" roles="" />
</authorization>
</security>
<modules>
<clear />
</modules>
<handlers>
<clear />
</handlers>
</system.webServer>
</location>

Not working

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 8/23/2013 5:27:52 AM
   
RE:Virtual directory - FTP content
Hello,

What is the physical folders structure?
This FTP folder should act like a stand alone application? Why?
Have you tried adding this location also to the Excluded URLs setting?

Best regards,
Juraj Ondrus

User avatar
Member
Member
Guenter - 8/23/2013 6:25:26 AM
   
RE:Virtual directory - FTP content
Thanks a lot! The Excluded URLs setting removed the login page! Now I got a 404 but I think has nothing to do with kentico!