Apache aliases on Zend Server 9

General discussion forum for the Zend Server
Post Reply
rhecker
Posts: 17
Joined: Mon Jan 11, 2010 10:53 am

Apache aliases on Zend Server 9

Post by rhecker » Thu Aug 04, 2016 3:52 pm

I have aliases set up in my windows development environment that were working with Apache 2.2 and ZS8 but which now do not work with Apache 2.4 and ZS9.

I have already tried two solutions:
--Adding "Require All granted" to <Directory> items
--Replacing the Alias directive with "SetEnv"

An original listing in httpd.conf (which worked with A2/ZS8) looked like this:

Code: Select all

<IfModule alias_module>
Alias /color_shared/ "D:\Apache2/htdocs/website/color/"
</IfModule>
<Directory "D:\Apache2/htdocs/website/color">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

User avatar
zvika
Zend Global Support
Posts: 994
Joined: Sun Dec 14, 2008 9:48 am
Contact:

Re: Apache aliases on Zend Server 9

Post by zvika » Mon Aug 08, 2016 2:22 pm

Hello
The alias is encapsulated within module condition.
Do you have the Alias module loaded?
You can check phpinfo() PHP script output and look for Apache modules, or 'httpd -M' (its in the bin dir)
Zvika Dror
Zend Support Team

Post Reply