Click to See Complete Forum and Search --> : php recognition probs / ssl (strange?)


thief_GRR
07-27-2003, 09:53 AM
Hullo everyone!

I just installed php5b1, apache1.3.28 and the modssl...

(os: freebsd)

This strange things happens:
I've added the AddType line on the .conf file, but when i try to access a .php file, mr. mozilla prompts me to download the file instead of opening it.

The strange thing is, that if i apachectl startssl instead of just start, and connect to https://myplace/hello.php, then it displayes the php file normally...

Any ideas??

Thanks in advance!

tsinka
07-28-2003, 03:23 AM
Please post httpd.conf. Could it be that you put the AddType directives somewhere inside a ssl section or that the LoadModule directive is inside a <IfModule ... </IfModule> section that only gets parsed when you start Apache ssl enabled ?

Thomas

thief_GRR
07-28-2003, 06:23 AM
I'll post the .conf file as soon as i'll get home..
I've checked the AddType line, and its not in any <If.. section!

And i also noticed something stranger.

It won't display php files ONLY if you are in the root dir (...../htdocs/) AND you have a non-ssl connection!!
Which means that if i create a subdir and put the .php file there, it is interpretted whether im in http: or https:

Thanks!