Apache Sub Domain
Community Support question - to convert into a paid question, click here
Lines in bold below have not yet been seen by the customer - those in blue are from the customer
Username : Date : Action : Comments [ close all ] |
|
|
|
NinjaNate : 31/08/02 06:59 PM : Incident created |
- I am unable to create a subdomain in apache. Its going to the top level domain when i try to bring it up in a browser. I've added the domain name to the /etc/hosts file. In the /etc/httpd/conf/Vhosts.conf file i have the following entry.
NameVirtualHost 24.53.216.12:81
ServerName www.kittyfriedrice.com
ServerAlias www.nate.kittyfriedrice.com
DocumentRoot /var/www/html/nate
DirectoryIndex index.html
(my webserver runs on port 81 but i have an A record that forwards all subdomains ex nate and www to port 81)
If you type in www.kittyfriedrice.com it will take you to my top level domain. When you type in www.nate.kittyfriedrice.com it takes you to the top level domain also.
Thanks for any ideas.
Nathan
|
|
|
|
NinjaNate : 31/08/02 07:02 PM : More info provided |
- To clarify i do have the VirtualHost tags in the Vhosts.conf file. They didn't show up on my post.
|
|
|
|
roc19 : 01/09/02 06:44 AM : Reply received |
- If you want your subdomain to go to a different website, create another
virtual host block for it like the example below.
NameVirtualHost *:80
<VirtualHost *>
DocumentRoot /var/www2/html
ServerName www.abc.com
Options ExecCGI Includes Indexes FollowSymLinks
ScriptAlias /cgi-bin/ /var/www2/html/cgi-bin/
Alias /include/ /var/www2/html/include/
Alias /icons/ /var/www2/html/icons/
ErrorLog /var/log/httpd2/gladmain-error_log
CustomLog /var/log/httpd2/gladmain-access_log common
</VirtualHost>
<VirtualHost *>
DocumentRoot /var/www2/html/publishing
ServerName www.sub.abc.com
ScriptAlias /cgi-bin/ /var/www2/html/publishing/cgi-bin/
ErrorLog /var/log/httpd2/publishing-error_log
CustomLog /var/log/httpd2/publishing-access_log common
</VirtualHost>
|
|
|
|
NinjaNate : 02/09/02 08:31 PM : More info provided |
- That's where I am running into the problem. I have created a 2nd virtual host entry for my subdomain www.nate.kittyfriedrice.com. The problem is it doesn't follow the directory listing to the /var/www/html/subdomain directory. Instead its going to the top level domains directory /var/www/html. Is there an option that I need to enable? I also run the RPM version of apache from mandrake 8.2 if that helps.
Thanks,
Nathan
|
|
|
|
NinjaNate : 02/09/02 08:33 PM : More info provided |
- Correction to my above post. I meant DocumentRoot, not Directory listing.
|
|
|
|
tensor : 04/09/02 09:37 PM : Reply received |
- Perhaps is a stupid question, but have you commented the default DocumentRoot
in httpd.conf ?
|
|
|
|
NinjaNate : 05/09/02 03:25 PM : More info provided |
- This is what i have in my httpd.conf file.
<VirtualHost www.nate.kittyfriedrice.com>
Options ExecCgi Includes Indexes FollowSymlinks
ServerAdmin [email protected]
ServerName www.kittyfriedrice.com
DocumentRoot /var/www/html/nate
User apache
Group apache
ScriptAlias www.nate.kittyfriedrice.com nate.kittyfriedrice.com
ErrorLog logs/error_log
SSLLogLevel warn
SSLVerifyClient optional
SSLProtocol All
</VirtualHost>
|
|
|
|
tensor : 05/09/02 08:54 PM : Reply received |
- Have you posted the _full_ httpd.conf or just an exrcept ? If you can, please
post httpd.conf, commonhttpd.conf and also vhosts ones
|
|
|
|
NinjaNate : 06/09/02 04:25 PM : More info provided |
- Here is an attached copy of my httpd.conf file. Please note my webserver is running on port 81. I have an A record for 'www' set up in DNS that points to this port. My TLD works fine when you type in www.kittyfriedrice.com. However when I type in www.nate.kittyfriedrice.com it still goes to the top level domain. I also made the virtual host entry with the linuxconf utility.
Thanks,
Nathan
|
|
Attachment
|
|
NinjaNate : 06/09/02 04:32 PM : More info provided |
- httpd.conf (part 1)
[root@kittyfriedrice conf]# cat httpd.conf
### Main Configuration Section 2,2 0%
### You really shouldn't change these settings unless you're a guru 0%
###INSERT -- 4,2 1%
#ScriptAlias kittyfriedrice.com 5,2 1%
ServerName www.kittyfriedrice.com 6,2 2%
NameVirtualHost 24.53.216.12 7,2 2%
Options ExecCgi Includes MultiViews Indexes FollowSymlinks 8,2 2%
ServerType standalone 9,2 3%
ServerRoot /etc/httpd 10,2 3%
#ServerName localhost 11,2 4%
#LockFile /etc/httpd/httpd.lock 12,2 4%
PidFile /var/run/httpd.pid 13,2 4%
ScoreBoardFile /etc/httpd/httpd.scoreboard 14,2 5%
ErrorLog logs/error_log 15,2 5%
LogLevel warn 16,2 6%
ResourceConfig /dev/null 17,2 6%
AccessConfig /dev/null 18,2 6%
DocumentRoot /var/www/html 19,1 7%
|
|
|
|
NinjaNate : 06/09/02 04:36 PM : More info provided |
- ### Dynamic Shared Object (DSO) Support 22,2
#LoadModule mmap_static_module modules/mod_mmap_static.so 25,2 9%
LoadModule env_module modules/mod_env.so 26,2 10%
LoadModule config_log_module modules/mod_log_config.so 27,2 10%
LoadModule agent_log_module modules/mod_log_agent.so 28,2 10%
LoadModule referer_log_module modules/mod_log_referer.so 29,2 11%
#LoadModule mime_magic_module modules/mod_mime_magic.so 30,2 11%
LoadModule mime_module modules/mod_mime.so 31,2 12%
LoadModule negotiation_module modules/mod_negotiation.so 32,2 12%
LoadModule status_module modules/mod_status.so 33,2 13%
LoadModule info_module modules/mod_info.so 34,2 13%
LoadModule includes_module modules/mod_include.so 35,2 13%
LoadModule autoindex_module modules/mod_autoindex.so 36,2 14%
LoadModule dir_module modules/mod_dir.so 37,2 14%
LoadModule cgi_module modules/mod_cgi.so 38,2 15%
LoadModule asis_module modules/mod_asis.so 39,2 15%
LoadModule imap_module modules/mod_imap.so 40,2 15%
LoadModule action_module modules/mod_actions.so 41,2 16%
#LoadModule speling_module modules/mod_speling.so 42,2 16%
LoadModule userdir_module modules/mod_userdir.so 43,2 17%
LoadModule proxy_module modules/libproxy.so 44,2 17%
LoadModule alias_module modules/mod_alias.so 45,2 17%
LoadModule rewrite_module modules/mod_rewrite.so 46,2 18%
LoadModule access_module modules/mod_access.so 47,2 18%
LoadModule auth_module modules/mod_auth.so 48,2 19%
LoadModule anon_auth_module modules/mod_auth_anon.so 49,2 19%
#LoadModule dbm_auth_module modules/mod_auth_dbm.so 50,2 19%
#LoadModule db_auth_module modules/mod_auth_db.so 51,2 20%
LoadModule digest_module modules/mod_digest.so 52,2 20%
#LoadModule cern_meta_module modules/mod_cern_meta.so 53,2 21%
LoadModule expires_module modules/mod_expires.so 54,2 21%
LoadModule headers_module modules/mod_headers.so 55,2 21%
LoadModule usertrack_module modules/mod_usertrack.so 56,2 22%
#LoadModule example_module modules/mod_example.so 57,2 22%
#LoadModule unique_id_module modules/mod_unique_id.so 58,2 23%
LoadModule setenvif_module modules/mod_setenvif.so 59,2 23%
<IfDefine HAVE_PHP4> 60,2 23%
LoadModule php4_module extramodules/libphp4.so 61,2 24%
</IfDefine>- 62,2 24%
<IfDefine HAVE_SSL> 63,2 25%
LoadModule ssl_module extramodules/libssl.so 64,2 25%
</IfDefine>- 65,2 26%
|
|
|
|
NinjaNate : 06/09/02 04:37 PM : More info provided |
- LoadModule vhost_alias_module modules/mod_vhost_alias.so 66,1 26%
# Reconstruction of the complete module list from all available modules 27%
# (static and shared ones) to achieve correct module execution order. 27%
# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO] 28%
ClearModuleList 71,2 28%
#AddModule mod_mmap_static.c 72,2 28%
AddModule mod_env.c 73,2 29%
AddModule mod_log_config.c 74,2 29%
AddModule mod_log_agent.c 75,2 30%
AddModule mod_log_referer.c 76,2 30%
#AddModule mod_mime_magic.c 77,2 30%
AddModule mod_mime.c 78,2 31%
AddModule mod_negotiation.c 79,2 31%
AddModule mod_status.c 80,2 32%
AddModule mod_info.c 81,2 32%
AddModule mod_include.c 82,2 32%
AddModule mod_autoindex.c 83,2 33%
AddModule mod_dir.c 84,2 33%
AddModule mod_cgi.c 85,2 34%
AddModule mod_asis.c 86,2 34%
AddModule mod_imap.c 87,2 34%
AddModule mod_actions.c 88,2 35%
#AddModule mod_speling.c 89,2 35%
AddModule mod_userdir.c 90,2 36%
AddModule mod_proxy.c 91,2 36%
AddModule mod_alias.c 92,2 36%
AddModule mod_rewrite.c 93,2 37%
AddModule mod_access.c 94,2 37%
AddModule mod_auth.c 95,2 38%
AddModule mod_auth_anon.c 96,2 38%
#AddModule mod_auth_dbm.c 97,2 39%
#AddModule mod_auth_db.c 98,2 39%
AddModule mod_digest.c 99,2 39%
#AddModule mod_cern_meta.c 100,2 40%
AddModule mod_expires.c 101,2 40%
AddModule mod_headers.c 102,2 41%
AddModule mod_usertrack.c 103,2 41%
#AddModule mod_example.c 104,2 41%
#AddModule mod_unique_id.c 105,2 42%
AddModule mod_so.c 106,2 42%
AddModule mod_setenvif.c 107,2 43%
<IfDefine HAVE_PHP4> 108,2 43%
AddModule mod_php4.c 109,2 43%
</IfDefine>- 110,2 44%
<IfDefine HAVE_SSL> 111,2 44%
AddModule mod_ssl.c 112,2 45%
</IfDefine>- 113,2 45%
AddModule mod_vhost_alias.c 114,1 45%
### Global Configuration 117,2 47%
# We now support multiple apache configurations on the same server. In 47%
# common.conf, we put all directives that are common to all implementations 48%
# (httpd, httpd-perl, etc.) 121,2 48%
Include conf/commonhttpd.conf 122,1 49%
### IP Address/Port and Proxied configuration section 126,2 50%
# The APACHEPROXIED setting can be set in /etc/rc.d/init.d/httpd if you 51%
# are using a proxy or accelerator, like the Apache-SGI or khttpd, so that 52%
# the fast web server serves static content while Apache handles the 52%
# cgi or php files 131,1 52%
|
|
|
|
NinjaNate : 06/09/02 04:37 PM : More info provided |
- httpd.conf (cont)
#BindAddress * 133,2 53%
<IfDefine APACHEPROXIED> 134,2 54%
Port 8080
Listen 8080
</IfDefine>
<IfDefine !APACHEPROXIED>
Port 81
Listen 81
</IfDefine>
# Likewise, we can set apache as the server by default and send perl
# requests via ProxyPass to apache-mod_perl. It increases performance
# since the perl interpreter is only used for perl and the standard apache
# does all the html and image files, with a smaller footprint.
#
# If you install apache and apache-mod_perl, this is the default config.
# If you don't want two web servers to use perl, uninstall apache, and
# apache-mod_perl will not be proxied.
<IfDefine PERLPROXIED>
RewriteEngine on
RewriteRule ^proxy:.* - [F]
RewriteRule ^(.*/perl/.*)$ http://%{HTTP_HOST}:8200$1 [P]
RewriteRule ^(.*/cgi-perl/.*)$ http://%{HTTP_HOST}:8200$1 [P]
</IfDefine>
###
### Log configuration Section
###
#Single logfile with access, agent and referer information
#This is the default, if vlogs are not defined for the main server
CustomLog logs/access_log combined env=!VLOG
#If VLOG is defined in conf/vhosts/Vhost.conf, we use this entry
CustomLog "|/usr/sbin/advxsplitlogfile" vhost env=VLOG
###
### Virtual Hosts
###
# We include different templates for Virtual Hosting. Have a look in the
# vhosts directory and modify to suit your needs.
Include conf/vhosts/Vhosts.conf
#Include conf/vhosts/DynamicVhosts.conf
#Include conf/vhosts/VirtualHomePages.conf
###
### Performance settings Section
###
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15
#
# Server-pool size regulation. Rather than making you guess how many
# server processes you need, Apache dynamically adapts to the load it
# sees --- that is, it tries to maintain enough server processes to
# handle the current load, plus a few spare servers to handle transient
# load spikes (e.g., multiple simultaneous requests from a single
# Netscape browser).
#
# It does this by periodically checking how many servers are waiting
# for a request. If there are fewer than MinSpareServers, it creates
# a new spare. If there are more than MaxSpareServers, some of the
# spares die off. The default values are probably OK for most sites.
#
MinSpareServers 4
MaxSpareServers 10
#
# Number of servers to start initially --- should be a reasonable ballpark
# figure.
#
StartServers 4
#
# Limit on total number of servers running, i.e., limit on the number
# of clients who can simultaneously connect --- if this limit is ever
# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
# It is intended mainly as a brake to keep a runaway server from taking
# the system with it as it spirals down...
#
MaxClients 150
#
# MaxRequestsPerChild: the number of requests each child process is
# allowed to process before the child dies. The child will exit so
# as to avoid problems after prolonged use when Apache (and maybe the
# libraries it uses) leak memory or other resources. On most systems, this
# isn't really needed, but a few (such as Solaris) do have notable leaks
# in the libraries. For these platforms, set to something like 10000
# or so; a setting of 0 means unlimited.
#
# NOTE: This value does not include keepalive requests after the initial
# request per connection. For example, if a child process handles
# an initial request and 10 subsequent "keptalive" requests, it
# would only count as 1 request towards this limit.
#
MaxRequestsPerChild 500
Include conf/addon-modules/php.conf
Include conf/ssl/mod_ssl.conf
Include conf/ssl/ssl.default-vhost.conf
<VirtualHost www.nate.kittyfriedrice.com:81>
Options ExecCgi Includes Indexes FollowSymlinks
ServerAdmin [email protected]
ServerName www.kittyfriedrice.com
DocumentRoot /var/www/html/nate
User apache
Group apache
ScriptAlias www.nate.kittyfriedrice.com nate.kittyfriedrice.com
ErrorLog logs/error_log
SSLLogLevel warn
SSLVerifyClient optional
SSLProtocol All
</VirtualHost>
[root@kittyfriedrice conf]#
|
|
|
|
NinjaNate : 06/09/02 04:42 PM : More info provided |
- This is my commonhttpd.conf
# MetaDir: specifies the name of the directory in which Apache can find
# meta information files. These files contain additional HTTP headers
# to include when sending the document
#
#MetaDir .web
#
# MetaSuffix: specifies the file name suffix for the file containing the
# meta information.
#
#MetaSuffix .meta
#
# Customizable error response (Apache style)
# these come in three flavors
#
# 1) plain text
#ErrorDocument 500 "The server made a boo boo.
# n.b. the single leading (") marks it as text, it does not get output
#
# 2) local redirects
#ErrorDocument 404 /missing.html
# to redirect to local URL /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
# N.B.: You can redirect to a script or a document using server-side-includes.
#
# 3) external redirects
#ErrorDocument 402 http://some.other_server.com/subscription_info.html
# N.B.: Many of the environment variables associated with the original
# request will *not* be available to such a script.
<Location /manual>
Options Multiviews
ErrorDocument 404 "The document you requested has not been installed on your sys
tem. Please install the apache-manual package.
</Location>
#
# Customize behaviour based on the browser
#
<IfModule mod_setenvif.c>
#
# The following directives modify normal HTTP response behavior.
# The first directive disables keepalive for Netscape 2.x and browsers that
# spoof it. There are known problems with these browser implementations.
# The second directive is for Microsoft Internet Explorer 4.0b2
# which has a broken HTTP/1.1 implementation and does not properly
# support keepalive when it is used on 301 or 302 (redirect) responses.
#
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4.0b2;" nokeepalive downgrade-1.0 force-response-1.0
#
# The following directive disables HTTP/1.1 responses to browsers which
# are in violation of the HTTP/1.0 spec by not being able to grok a
# basic 1.1 response.
#
BrowserMatch "RealPlayer 4.0" force-response-1.0
BrowserMatch "Java/1.0" force-response-1.0
BrowserMatch "JDK/1.0" force-response-1.0
</IfModule>
# End of browser customization directives
#
# Allow server status reports, with the URL of http://servername/server-status
# Change the ".your_domain.com" to match your domain to enable.
#
<IfModule mod_status.c>
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
allow from 127.0.0.1
#Allow from .your_domain.com
</Location>
#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
#ExtendedStatus On
</IfModule>
#
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".your_domain.com" to match your domain to enable.
#
<IfModule mod_info.c>
<Location /server-info>
SetHandler server-info
Order deny,allow
Deny from all
Allow from .your_domain.com
</Location>
</IfModule>
<IfModule mod_perl.c>
<Location /perl-status>
SetHandler perl-script
PerlHandler Apache::Status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
</IfModule>
|
|
|
|
NinjaNate : 06/09/02 04:43 PM : More info provided |
- commonhttpd.conf (cont)
#
# There have been reports of people trying to abuse an old bug from pre-1.1
# days. This bug involved a CGI script distributed as a part of Apache.
# By uncommenting these lines you can redirect these attacks to a logging
# script on phf.apache.org. Or, you can record them yourself, using the script
# support/phf_abuse_log.cgi.
#
#<Location /cgi-bin/phf*>
# Deny from all
# ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
#</Location>
#
# Proxy Server directives. Uncomment the following lines to
# enable the proxy server:
#
#<IfModule mod_proxy.c>
# ProxyRequests On
# <Directory proxy:*>
# Order deny,allow
# Deny from all
# Allow from .your_domain.com
# </Directory>
#
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers
)
# Set to one of: Off | On | Full | Block
#
# ProxyVia On
#
# To enable the cache as well, edit and uncomment the following lines:
# (no cacheing without CacheRoot)
#
# CacheRoot /var/cache/httpd
# CacheSize 5
# CacheGcInterval 4
# CacheMaxExpire 24
# CacheLastModifiedFactor 0.1
# CacheDefaultExpire 1
# NoCache a_domain.com another_domain.edu joes.garage_sale.com
#</IfModule>
# End of proxy directives.
<IfModule mod_dav.c>
# DavLockDB /var/lock/DAVLock
</IfModule>
<IfModule mod_include.c>
# XBitHack on
</IfModule>
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory /var/www/html>
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options -Indexes FollowSymLinks MultiViews
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/perl>
AllowOverride All
Options -Indexes FollowSymLinks MultiViews ExecCGI
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/cgi-bin>
AllowOverride All
Options ExecCGI
</Directory>
<Directory /var/www/protected-cgi-bin>
AllowOverride None
Options ExecCGI
Order deny,allow
Deny from all
Allow from 127.0.0.1
#allow from .your_domain.com
</Directory>
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
#<Directory /home/*/public_html>
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <Limit GET POST OPTIONS PROPFIND>
# Order allow,deny
# Allow from all
# </Limit>
# <LimitExcept GET POST OPTIONS PROPFIND>
# Order deny,allow
# Deny from all
# </LimitExcept>
#</Directory>
# These settings are pretty flexible, and allow for Frontpage and XSSI
<Directory /home/*/public_html>
AllowOverride All
Options MultiViews -Indexes Includes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory /home/*/public_html/cgi-bin>
Options ExecCGI -Includes -Indexes
SetHandler cgi-script
</Directory>
<IfModule mod_perl.c>
<Directory /home/*/public_html/perl>
SetHandler perl-script
PerlHandler Apache::PerlRun
Options -Indexes ExecCGI
PerlSendHeader On
</Directory>
</IfModule>
<Directory /var/www/icons>
Options -Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory /usr/share/doc>
Options Indexes FollowSymLinks
Order deny,allow
Deny from all
Allow from 127.0.0.1
#allow from .your_domain.com
</Directory>
<Directory /var/www/html/addon-modules>
Options Indexes FollowSymLinks
</Directory>
<Location /index.shtml>
Options Includes
</Location>
<IfModule mod_perl.c>
PerlModule Apache::Registry
#set Apache::Registry Mode for /perl Alias
<Location /perl/*.pl>
SetHandler perl-script
PerlHandler Apache::Registry
Options -Indexes ExecCGI
PerlSendHeader On
</Location>
#set Apache::PerlRun Mode for /cgi-perl Alias
<Location /cgi-perl/*.pl>
SetHandler perl-script
PerlHandler Apache::PerlRun
Options -Indexes ExecCGI
PerlSendHeader On
</Location>
</IfModule>
[root@kittyfriedrice conf]#
|
|
|
|
tensor : 06/09/02 08:38 PM : Reply received |
- Your virtual host has www.kittyfriedrice.com ServerName; it should be
www.nate.kittyfriedrice.com
It's also better to have two virtual servers: one for your main server, and
one for your secondary. It should work either way, but is easier to maintain
this way
|
|
|
|
NinjaNate : 06/09/02 09:48 PM : More info provided |
- I modified the entry in the httpd.conf file but received the same error. The weird thing is if you go to http://www.nate.kittyfriedrice.com, nothing comes up. However if you go to http://www.nate.kttyfriedrice.com:81 the top level domain comes up. In the httpd.conf file I modifed the NameVirtualHost 24.53.216.12 entry (line 6) to NameVirtualHost 24.53.216.12:81. This didn't correct the issue. The think the problem is somewhere in the conf file. I've determined that the server is receiving the port 81 request. It's just not doing anything with it. This is what my virtual host entry looks like now.
<VirtualHost www.nate.kittyfriedrice.com>
Options ExecCgi Includes Indexes FollowSymlinks
ServerAdmin [email protected]
ServerName www.nate.kittyfriedrice.com
DocumentRoot /var/www/html/nate
User apache
Group apache
ScriptAlias www.nate.kittyfriedrice.com nate.kittyfriedrice.com
ErrorLog logs/error_log
SSLLogLevel warn
SSLVerifyClient optional
SSLProtocol All
</VirtualHost>
I tried modifying the <VirtualHost www.nate.kittyfriedrice.com> to <VirtualHost www.nate.kittyfriedrice.com:81> but the error_log reported the following.
[Fri Sep 6 15:20:29 2002] [error] VirtualHost www.nate.kittyfriedrice.com:81 --
mixing * ports and non-* ports with a NameVirtualHost address is not supported,
proceeding with undefined results
Thanks for all your help.
Nathan
|
|
|
|
tensor : 06/09/02 10:02 PM : Reply received |
- if you comment your main host config, leaving only the secondary vhost, it
will work ?
|
|
|
|
NinjaNate : 11/09/02 11:49 PM : Incident closed |
-
|
|
|
|
Language
Search Mandriva Expert
|