webserver help?

Discussion in 'Off Topic Discussion' started by lwizardl, Sep 13, 2006.

  1. lwizardl

    lwizardl Living The Dream

    Joined:
    Mar 30, 2005
    Messages:
    575
    Likes Received:
    74
    off-topic of asembler but i'm sure someone here can help me.

    I'm trying to get my webserver up and running and I am either doing something very wrong or my ISP is to blame. I has already checked these options and will place them in here just to show all i have tried.

    I'm running Ubuntu 6.06 LTS for the server OS. I have Apache2, PHP, Mysql.

    Apache/2.0.55 (Ubuntu) PHP/5.1.2
    Mysql 5.0.22

    if anyone here wants to help me with this I would be very greatful

    james

    in apache i have this setup

    *** httpd.conf ***
    ## This is here for backwards compatability reasons and to support
    # installing 3rd party modules directly via apxs2, rather than
    # through the /etc/apache2/mods-{available,enabled} mechanism.
    #
    #LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so

    NameVirtualHost *:80

    <VirtualHost *:80>
    DocumentRoot "/var/www/site1"
    ServerName site1.tld
    <Directory "/var/www/site1">
    </Directory>
    </VirtualHost>

    *** ports.conf ***
    Listen 80
    Listen 443

    /etc/init.d/apache2 force-reload
    * Forcing reload of apache 2.0 web server... apache2: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    [Wed Sep 13 00:29:45 2006] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
    [Wed Sep 13 00:29:45 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
    apache2: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    [Wed Sep 13 00:29:45 2006] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
    [Wed Sep 13 00:29:45 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
    [ ok ]

    in my router setup page (linksys RTP300) i have ports 80, 443,53,22,25 all forwarded to my static ip on the webserver box 192.168.1.7

    in my /etc/network/interfaces
    ## This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth0
    iface eth0 inet static
    address 192.168.1.7
    netmask 255.255.255.128
    network 192.168.1.1
    broadcast 192.168.1.63
    gateway 192.168.1.1
     
  2. Chip

    Chip Rapidly Rising Member

    Joined:
    Mar 29, 2004
    Messages:
    80
    Likes Received:
    0
    `

    Other than the expected differences regarding site directories and such, my http.conf file is the same as yours but without the port (":80") specified after the host. Don't know if that's the problem.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page