[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] SquirrelMail on a RaQ4



Steve,

Did you ever think of a solution to my problem with the PHP not working when the
alias command is used?

John


"John D. Gorena" wrote:
> 
> It does not run or recognize index.php.  It gives a directory listing when I use
> that alias command.
> John
> 
> Steve Werby wrote:
> >
> > "John D. Gorena" <Support@xxxxxxxxxxxxxxxxxxx> wrote:
> > > Steve,
> > >
> > > That does point all domain.com/webmail to path_to_squirrelmail BUT it then
> > > disables the PHP (won't run index.php).  What needs to be done at this
> > point?
> >
> > Does the PHP get outputed as plain text (you may need to look at the source
> > code from your browser)?  If not, explain in more detailed what disabled
> > entails.
> >
> > > Steve,
> > > Also, this might be related:
> > > In the past . . . To get index.php to work I have to add the following to
> > the
> > > virtual site in httpd.conf.
> > >
> > > AddType application/x-httpd-php .php4
> > > AddType application/x-httpd-php .php3
> > > AddType application/x-httpd-php .php
> >
> > If you enabled PHP support for a site through the GUI it should
> > automatically add the 1st and 3rd lines above to the site's VirtualHost
> > container.  Are you saying you need to do it manually?  Do other PHP scripts
> > work on the same sites you're testing?  other sites?  I wish I didn't have
> > so many questions, but the solution I gave should work without any problems.
> > And it shouldn't matter if a site has PHP enabled if you're using an Alias
> > directive to point to a PHP script outside its web space.
> >
> > --
> > Steve Werby
> > President, Befriend Internet Services LLC
> > http://www.befriend.com/
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To Subscribe or Unsubscribe, please go to:
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
> 
> --