[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Database
Hi Alex,
The srm.conf in my installation is empty except for a 'suggestion' that
everything be put in the httpd.conf.
The parts of httpd.conf I changed were:-
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
</IfModule>
where I changed the .php3 to .php and:-
# PHP3 support
<IfModule mod_php3.c>
AddIcon /icons/php3.gif .php3
AddIcon /icons/phps.gif .php3s .phps
</IfModule>
# End of PHP3 support
where I did the same. Looking at the last one, I assumed that I could also
just add on a .php after the .php3 (as in the Addicon /icons/phps.gif .php3s
.phps line) but that didn't seem to want to work either.
neither x-httpd-php nor x-httpd-php3 are mentioned in mime.types. Should I
add them in manually and, if so, would the form:
application/x-httpd-php3 php3 php
be correct?
Thanks,
Ian
--
Ian W. Wright
Sheffield UK
www.iw63.freeserve.co.uk
----- Original Message -----
From: "Alex Hudson" <xxxxx [at] alexhudson.com>
To: <shef-lug [at] list.sheflug.org.uk>
Sent: 25 September 2001 21:44
Subject: Re: [Sheflug] Database
> On Tuesday 25 September 2001 21:26, you wrote:
> > On my server I have installed php3 and it only likes to see files with a
> > .php3 extension, however, while the exchange project says it will work
with
> > php3, all the files ('undreds of 'em) have just a .php extension.
> > Is there any way I can a) alter the file extensions in bulk which would
> > then just leave me to do 'find and replace' alterations to the cross
> > references within the files, or b) persuade my php3 installation that
.php
> > files are cosher? I tried altering the couple of references I could see
in
> > the httpd.conf file from .php3 to .php but that didn't seem to work -
maybe
> > I missed something?
>
> Look in your srm.conf,
>
> AddType application/x-httpd-php .php
>
> (make sure x-httpd-php is defined in mime.types - it should be ;)
>
> You may also want to add index.php to your directory index options in
> httpd.conf (which may be what you were playing with).
>
> Cheers,
>
> Alex.
> ___________________________________________________________________
>
> Sheffield Linux User's Group - http://www.sheflug.co.uk .
> To unsubscribe from this list send mail to
> shef-lug-request [at] list.sheflug.org.uk with the word
> "unsubscribe" in the body of the message.
>
> GNU the choice of a complete generation.
>
>
___________________________________________________________________
Sheffield Linux User's Group - http://www.sheflug.co.uk .
To unsubscribe from this list send mail to
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.