plesk – Helicon Tech Blog http://www.helicontech.com/articles Web Server Enhancements Fri, 11 Nov 2011 13:14:37 +0000 en-US hourly 1 https://wordpress.org/?v=5.2.4 Titbits: Making Ape work with Plesk 9.5.1 http://www.helicontech.com/articles/making-ape-work-with-plesk/ http://www.helicontech.com/articles/making-ape-work-with-plesk/#comments Thu, 22 Apr 2010 07:39:00 +0000 http://localhost:85/blog/?p=71 Continue reading ]]> If you have Ape and Plesk installed on your server, you may come across the issue that Ape is not working in it’s entirity. This may be caused by the fact that Plesk overrides the handlers list for each domain it creates. Like this:

<location path="Example.com">
        <system.webServer>
            <handlers accessPolicy="Read, Script">
                <clear />
                <add name="Plesk_Handler_05171048" path="*.dll" verb="*"
                    modules="IsapiModule" resourceType="File"
                    requireAccess="Execute" allowPathInfo="true" />
                <add name="Plesk_Handler_05171080" path="*.exe" verb="*"
                    modules="CgiModule" resourceType="File"
                    requireAccess="Execute" allowPathInfo="true" />
                <add name="StaticFile" path="*" verb="*"
                    modules="StaticFileModule,DefaultDocumentModule,
                    DirectoryListingModule" resourceType="Either" />
            </handlers>
            ...
    </location>

To add handler for Helicon Ape, you need to add this simple spell to the root web.config for the site:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>

    <handlers>
      <add name="Helicon.Ape Handler" path="*.apehandler" verb="*"
          type="Helicon.Ape.Handler" resourceType="Unspecified"
          preCondition="integratedMode" />
    </handlers>

  </system.webServer>
</configuration>

Guess, this small hint will make Plesk and Ape cohabitation on your server more peaceful.

Best regards,
Sergey, Anton – Helicon Tech Team

]]>
http://www.helicontech.com/articles/making-ape-work-with-plesk/feed/ 482