What is the preferred locations of apps running under Apache24?
I have some under /usr/local/www and some under /usr/local/www/apache24/data.
I'd prefer to have everything in the same (correct) location.
I put my websites in /usr/local/www and have each one like /usr/local/www/domain1.com, /usr/local/www/domain2.com, etc.
Alias /bugtrack /usr/local/www/bugzilla
#
<Directory /usr/local/www/bugzilla>
AddHandler cgi-script .cgi
Options ExecCGI FollowSymLinks
DirectoryIndex index.cgi
Order allow,deny
Allow from all
</Directory>
Code:Alias /bugtrack /usr/local/www/bugzilla # <Directory /usr/local/www/bugzilla> AddHandler cgi-script .cgi Options ExecCGI FollowSymLinks DirectoryIndex index.cgi Order allow,deny Allow from all </Directory>
Alias /bugtrack /usr/local/www/bugzilla
#
<Directory /usr/local/www/bugzilla>
AddHandler cgi-script .cgi
Options ExecCGI FollowSymLinks
DirectoryIndex index.cgi
Require all granted
</Directory>
I have just installed Drupal8 which FreeBSD has put in /usr/local/www/drupal8.
http://localhost/drupal8/core/install.php is Not Found .
If I move the installation to /usr/local/www/apache24/data it works.
I tried adding a <Directory> directive to httpd.confbut can't get it to work.
Although you are right they also provide an extension which allows you to use the 'old' directives, which is what I've been doing so far.For www/apache24 the syntax would be:
Really? I was not aware of that. I will search for it because it is a time saver for upgrades.Although you are right they also provide an extension which allows you to use the 'old' directives, which is what I've been doing so far.
Been a while, but I found it again, you're looking for the (build in) mod_access_compat module. This provides the previous allow from ... approach.Really? I was not aware of that. I will search for it because it is a time saver for upgrades.