1 problem left: was RH73 to FC1 Apache problems

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

 



On Tuesday 15 June 2004 9:38 pm, Gary Stainburn wrote:
> Hi folks.
>
> I'm trying to port my RH7.3/Apache 1 config to FC1/Apache 2 and I've come
> up against a few problems. Two of which are:
>
> 'user' clause in virtualhosts
>
> I understand from the Apache2 docs that this is no longer allowed and that
> for CGIs I should use suEXEC.  How do I get round it for static HTML and
> PHP files?
>

Thanks to Alexander for solving the problem below - a nice tidy-up of the 
config file.  That only leaves the above problem to solve.

> PHP processing for .html files
>
> In Apache1 I made it process PHP in .html files as well as .php by adding
> the suffix to the mod_php4 section, i.e.:
>
>     <IfModule mod_php4.c>
>         AddType application/x-httpd-php .php .php4 .php3 .phtml .html
>         AddType application/x-httpd-php-source .phps
>     </IfModule>
>
>
> However, this section does not appear to be in the Apache2 httpd.conf.  How
> can I achieve the same results?

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux