apache+SSL, which port?
marko at freebsd.org
Tue Feb 1 09:41:39 PST 2005
Adi Pircalabu wrote:
> On Tue, 01 Feb 2005 17:12:02 +0000
> Mark Ovens <marko at freebsd.org> wrote:
>> Should have mentioned that I tried adding that but it just caused the
>> contents of index.php to be displayed in the browser rather than the
>> directory listing.
> If I understand this correctly, your .php page was not parsed, but
> displayed. You should also need a directive like this:
> AddType application/x-httpd-php .php
>>From what I see, /usr/ports/lang/php4/pkg-message.mod says how to
> complete the integration of php module.
That's fixed it, thanks :-)
httpd.conf from the previous version I had installed doesn't have
index.php in the DirectoryIndex directive, but it does have
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .php3s
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DirectoryIndex index.php index.php3 index.html
DirectoryIndex index.php3 index.html
DirectoryIndex index.php index.html
but I'm 99% certain I didn't have to add those....hmmm, the previous
version was installed from a package, the current version from the
ports; maybe that's why?
Thanks again for your help.
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0505-0, 31/01/2005
Tested on: 01/02/2005 17:41:00
avast! - copyright (c) 2000-2004 ALWIL Software.
More information about the freebsd-questions