httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bruce" <bedoug...@earthlink.net>
Subject RE: [users@httpd] apache config file.. we need a guru!!!!!
Date Mon, 11 Apr 2005 22:32:54 GMT
chris...

i'm looking for someone who can really help me understand what/how the
following section of httpd.conf file does....

------------------------------------------------
#
#       Primary GForge vhost
#
# HTTP
<VirtualHost 192.168.1.52:80>
        ServerName gforge.mesa.com
        #ServerAlias app2.gotdns.com
        ServerAdmin webmaster@gforge.mesa.com
        DocumentRoot /var/www/gforge/www

<Directory /var/www/gforge/www>
  Options Indexes FollowSymlinks
  AllowOverride All
  order allow,deny
  allow from all
  php_admin_value include_path
"/var/www/gforge/etc/custom:/var/www/gforge:/var/www/gforge/www/include:."
  php_admin_value default_charset "UTF-8"
  php_admin_value register_globals "On"
</Directory>

        Alias /images/ /var/www/gforge/www/images/
        DirectoryIndex index.html index.php
        <IfModule mod_userdir.c>
                UserDir disabled
        </IfModule>

        php_admin_value default_charset "UTF-8"

        <Directory /var/www/gforge/www>
                Include   /var/www/gforge/etc/httpd.secrets
        </Directory>

        ScriptAliasMatch ^/plugins/([^/]*)/cgi-bin/(.*)
/usr/lib/gforge/plugins/$1/cgi-bin/$2

        # Projects and Users script
        <Location /projects>
                ForceType application/x-httpd-php
        </Location>
        <Location /users>
                ForceType application/x-httpd-php
        </Location>

        # 404 Error document
        ErrorDocument 404 /404.php
        LogFormat "%h %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
gforge
#       CustomLog "|/usr/sbin/cronolog
/var/www/gforge/var/log/#gforge/%Y/%m/%d/gforge.log" gforge

        # GForge without the DNS delegation
        # Project home pages are in a virtual /www/<group> location
        AliasMatch ^/www/([^/]*)/(.*) /home/groups/$1/htdocs/$2
        ScriptAliasMatch ^/([^/]*)/cgi-bin/(.*) /home/groups/$1/cgi-bin/$2
        <Directory /home/groups>
                Options Indexes FollowSymlinks
                AllowOverride All
                order allow,deny
                allow from all
        </Directory>

        # Ensure that we don't try to use SSL on SSL Servers
        <IfModule apache_ssl.c>
                SSLDisable
        </IfModule>
</VirtualHost>
----------------------------------------------------------

i've got my dns set up to allow me to resolve http://gforge.mesa.com on my
internal network.

but i want to be able to resolve http://gforge.mesa.com/projects/foo. any
ideas as to how to do this with the above config???

this is critical, and driving me up a wall!!!!!!

if possible, i'd like to be able to talk to you, if you're able to tell me
how/what this is doing...

thanks

bruce
bedouglas@earthlink.net



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message