Apache aliases on Zend Server 9

General discussion forum for the Zend Server

Apache aliases on Zend Server 9

Postby rhecker on 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>
rhecker
 
Posts: 17
Joined: Mon Jan 11, 2010 10:53 am

Re: Apache aliases on Zend Server 9

Postby zvika on 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
User avatar
zvika
Zend Global Support
 
Posts: 986
Joined: Sun Dec 14, 2008 9:48 am


Return to Zend Server

Who is online

Users browsing this forum: Exabot [Bot] and 6 guests

cron