Re: Dyndns and apache

From: Steven Stern (subscribed-lists_at_sterndata.com)
Date: 08/21/05

  • Next message: Randy Vice: "FC4 upgrade and PPPoE"
    Date: Sun, 21 Aug 2005 09:18:11 -0500
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Paul wrote:
    > Hi,
    >
    > I've registered three domains with dyndns (totally free, get your own
    > domain and run the site from home sort of thing).
    >
    > I've set up Apache and it works fine. Problem is this though. If I point
    > the browser to http://ctadirect.homedns.org I get the Fedora testpage
    > and the logs say that I don't have access to /var/www/html. If I
    > add /cta onto the end, I get the site I should get without that
    > addition.
    >
    > My apache.conf file looks like this
    >
    > # ServerRoot: The top of the directory tree under which the server's
    > # configuration, error, and log files are kept.
    > #
    > # NOTE! If you intend to place this on an NFS (or otherwise network)
    > # mounted filesystem then please read the LockFile documentation
    > # (available at
    > <URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>);
    > # you will save yourself a lot of trouble.
    > #
    > # Do NOT add a slash at the end of the directory path.
    > #
    > ServerRoot "/etc/httpd"
    >
    > Listen 80
    >
    > ServerName 127.0.0.1:80
    >
    > #
    > # This should be changed to whatever you set DocumentRoot to.
    > #
    > <Directory "/var/www/html">
    >
    > Options Indexes FollowSymLinks ExecCGI Includes All MultiViews
    > XBitHack On
    > #
    > # AllowOverride controls what directives may be placed in .htaccess
    > files.
    > # It can be "All", "None", or any combination of the keywords:
    > # Options FileInfo AuthConfig Limit
    > #
    > AllowOverride None
    >
    > #
    > # Controls who can get stuff from this server.
    > #
    > Order allow,deny
    > Allow from all
    >
    > </Directory>
    >
    > # DirectoryIndex: sets the file that Apache will serve if a directory
    > # is requested.
    >
    > DirectoryIndex index.html index.html.var index.php index.php3 index.htm
    > index.shtml
    >
    > #
    > # Use name-based virtual hosting.
    > #
    > NameVirtualHost 82.42.51.231:80
    >
    > <VirtualHost ctadirect.homedns.org:80>
    > ServerAdmin paul@all-the-johnsons.co.uk
    > DocumentRoot /var/www/html/cta/
    > ServerName ctadirect.homedns.org
    > ErrorLog logs/cta-error_log
    > CustomLog logs/cta-access_log common
    > </VirtualHost>
    >
    > <VirtualHost mono.shacknet.nu:80>
    > ServerAdmin paul@all-the-johnsons.co.uk
    > DocumentRoot /var/www/html/mono/
    > ServerName mono.shacknet.nu
    > ErrorLog logs/mono-error_log
    > CustomLog logs/mono-access_log common
    > </VirtualHost>
    >
    > Everything looks fine - can anyone suggest where the problem may be?
    >
    > TTFN
    >
    > Paul
    >

    That should be <VirtualHost *:80>.

    -- 
       Steve
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Randy Vice: "FC4 upgrade and PPPoE"

    Relevant Pages

    • Re: cups freezing in sarge
      ... Paul wrote: ... >> ServerName localhost.localdomain ... Hannuman ... # The following lines are desirable for IPv6 capable hosts ...
      (Debian-User)
    • Re: TrendMicros CMS for SMBs Security Settings is a centipede
      ... servername, if it does prompt you for a password when you use the IP." ... why would a major application choose to avoid all ... Hollis D. Paul ...
      (microsoft.public.windows.server.sbs)
    • Re: Restore publication db
      ... Paul & Hillary- ... I am restoring a backup from the production machine to my ... developement machine. ... If the servername is different, ...
      (microsoft.public.sqlserver.replication)
    • RE: VirtualHost Issue (Ubuntu 6.10)
      ... Options Indexes FollowSymLinks MultiViews ... ServerName www.wienernaschmarkt.eu ... DocumentRoot /var/www/naschmarkt ...
      (Ubuntu)
    • RE: VirtualHost Issue (Ubuntu 6.10)
      ... Options Indexes FollowSymLinks MultiViews ... ServerName www.wienernaschmarkt.eu ... DocumentRoot /var/www/naschmarkt ...
      (Ubuntu)