Tuesday 28 October 2014 5:12:28 pm - 1 reply
Hello,
I am running ez publish 4.0.3
My need is to have a url "/play" to use an application in folder /var/www/play
I tryed to add an Alias in Apache but it still forward to EZ Publish with module play not found ;-(
Does anybody could please help me ?
Best regards,
Franck
Tuesday 28 October 2014 10:06:44 pm
I'm not 100% sure what you're trying to do here but I'll try and guess - you want www.domain.tld/play to not go to ezpublish but go to an application directory - which in this case is /var/www/play and is pointed there by the apache directive
Alias /play /var/www/play
It that's it, then I think you'll also need a rewrite rule something like this:
RewriteRule ^/play/.* - [L]
You can put this in your apache vhost config file or the .htaccess file in your DocumentRoot if that exists.
I also probably wouldn't bother with the Alias directive and just use a symbolic link in DocumentRoot to /var/www/play but they should both work (but you maybe can try that if you hte alias doesn't work).
You must be logged in to post messages in this topic!