Anton Piatek wrote: >Merlin, the Mage wrote: > > >>On Wednesday 10 May 2006 12:41, Anton Piatek wrote: >> >> >>> Alias /torrentflux /usr/share/torrentflux/www/ >>> >>> >>At first sight I would say that you have a / in the directory and you're >>missing it in the alias. The correct sould have / in both or in none. >> >>You can be missing something else, but nothing that I can spot from the config >>excerpt you sent. >> >>themage >> >> >Well, i changed that, but it made no difference. >Normal html pages are served fine, so the alias does work. php pages >though are offered for download as an application/x-httpd-php > >the php config is loaded with the mods-enabled and works fine for pages >in /var/www/ > <IfModule mod_php4.c> > AddType application/x-httpd-php .php .phtml .php3 > AddType application/x-httpd-php-source .phps > </IfModule> > >It seems like i need to add an option for php to work in aliased >directories or something... > >Anton > > For the benefit of people searching the archives I fixed this by adding "+ExecCGI" to the directory config param that torrent flux added to apache. Anton
Attachment:
signature.asc
Description: OpenPGP digital signature