Ubuntu apache worker

Discussion in 'Server Operation' started by valent, Mar 17, 2009.

  1. valent

    valent New Member

    I read and followed tis how-to: http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-ubuntu-8.10
    I have no domain name so I remove some lines from site configuration file for apache:

    <VirtualHost *:80>

    DocumentRoot /var/www/web1/web/

    <IfModule mod_fcgid.c>
    SuexecUserGroup web1 web1
    PHP_Fix_Pathinfo_Enable 1
    <Directory /var/www/web1/web/>
    Options +ExecCGI
    AllowOverride All
    AddHandler fcgid-script .php
    FCGIWrapper /var/www/php-fcgi-scripts/web1/php-fcgi-starter .php
    Order allow,deny
    Allow from all

    # ErrorLog /var/log/apache2/error.log
    # CustomLog /var/log/apache2/access.log combined
    ServerSignature Off


    I reloaded the apache web server and when I digit on address bar of Firefox a little window appears to select where I have to download info.php file.
    No page is open by browser but I get a php file to download.
    I suppose that something is not work.
  2. falko

    falko Super Moderator ISPConfig Developer

    If this is your default vhost, then is the correct address (because /var/www/web1/web is your document root).

    The fact that you have to type in your browser shows that there's another default vhost in your configuration which has precedence over this one.

Share This Page