httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42200] - Unknown activities recorded in access log
Date Tue, 24 Apr 2007 02:56:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42200>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42200





------- Additional Comments From lidengni@gmail.com  2007-04-23 19:56 -------
(In reply to comment #1)
> Looks like "/" request is redirected and might be looping.
> 
> It looks like, it could be configuration issue.
> 
> Can you share your configuration especially the vhost which is causing the
problem?
> 

httpd-vhosts.conf looks like:
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
    ServerAdmin support@hosts.com
    DocumentRoot /home/domains/hosts/nonsecure
    ServerName hosts.com
    ServerAlias www.hosts.com hosts
    ErrorLog /home/logs/hosts-error_log
    CustomLog /home/logs/hosts-access_log common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin support@hosts2.com
#    DocumentRoot /home/domains/hosts2/nonsecure
    DocumentRoot /home/domains/hosts2/old
    ServerName hosts2.com
    ServerAlias www.hosts2.com hosts2
    ErrorLog /home/logs/hosts2-error_log
    CustomLog /home/logs/hosts2-access_log common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin support@host3.com
    DocumentRoot /home/domains/host3
    ServerName host3.com
    ServerAlias www.host3.com host3
    ErrorLog /home/logs/host3-error_log
    CustomLog /home/logs/host3-access_log common
</VirtualHost>

<VirtualHost *:80>
    ...
</VirtualHost>

-------------------------------
httpd-ssl.conf looks like
#
# This is the Apache server configuration file providing SSL support.
# It contains the configuration directives to instruct the server how to
# serve pages over an https connection. For detailing information about these
# directives see <URL:http://httpd.apache.org/docs/2.2/mod/mod_ssl.html>
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.
#

#
# Pseudo Random Number Generator (PRNG):
# Configure one or more sources to seed the PRNG of the SSL library.
# The seed data should be of good random quality.
# WARNING! On some platforms /dev/random blocks if not enough entropy
# is available. This means you then cannot use the /dev/random device
# because it would lead to very long connection times (as long as
# it requires to make more entropy available). But usually those
# platforms additionally provide a /dev/urandom device which doesn't
# block. So, if available, use this one instead. Read the mod_ssl User
# Manual for more details.
#
#SSLRandomSeed startup file:/dev/random  512
#SSLRandomSeed startup file:/dev/urandom 512
#SSLRandomSeed connect file:/dev/random  512
#SSLRandomSeed connect file:/dev/urandom 512


#
# When we also provide SSL we have to listen to the
# standard HTTP port (see above) and to the HTTPS port
#
# Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
#       Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443"
#
Listen 443

##
##  SSL Global Context
##
##  All SSL configuration in this context applies both to
##  the main server and all SSL-enabled virtual hosts.
##

#
#   Some MIME-types for downloading Certificates and CRLs
#
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl    .crl

#   Pass Phrase Dialog:
#   Configure the pass phrase gathering process.
#   The filtering dialog program (`builtin' is a internal
#   terminal dialog) has to provide the pass phrase on stdout.
SSLPassPhraseDialog  builtin

#   Inter-Process Session Cache:
#   Configure the SSL Session Cache: First the mechanism
#   to use and second the expiring timeout (in seconds).
#SSLSessionCache         dbm:/home/server/logs/ssl_scache
SSLSessionCache        shmcb:/home/server/logs/ssl_scache(512000)
SSLSessionCacheTimeout  300

#   Semaphore:
#   Configure the path to the mutual exclusion semaphore the
#   SSL engine uses internally for inter-process synchronization.
SSLMutex  file:/home/server/logs/ssl_mutex

##
## SSL Virtual Host Context
##

NameVirtualHost *:443

<VirtualHost *:443>
        ServerAdmin support@hosts1.com
        DocumentRoot /home/domains/hosts1/secure
        ServerName hosts1.com:443
        ServerAlias www.hosts1.com:443 hosts1:443
        ErrorLog /home/logs/hosts1-ssl-error_log
        CustomLog /home/logs/hosts1-ssl-access_log common

        SSLEngine on
        SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
        SSLCertificateFile /home/server/conf/hosts2.crt
        SSLCertificateKeyFile /home/server/conf/hosts2.key

        <FilesMatch "\.(cgi|shtml|phtml|php)$">
                SSLOptions +StdEnvVars
        </FilesMatch>

        <Directory "/home/server/cgi-bin">
                SSLOptions +StdEnvVars
        </Directory>

        BrowserMatch ".*MSIE.*" \
                nokeepalive ssl-unclean-shutdown \
                downgrade-1.0 force-response-1.0
        CustomLog /home/server/logs/ssl_request_log \
                "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

<VirtualHost *:443>
        ServerAdmin support@hosts2.com
        DocumentRoot /home/domains/hosts2/secure
        ServerName hosts2.com:443
        ServerAlias www.hosts2.com:443 hosts2:443
        ErrorLog /home/logs/hosts2-ssl-error_log
        CustomLog /home/logs/hosts2-ssl-access_log common

        SSLEngine on
        SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
        SSLCertificateFile /home/server/conf/hosts2.crt
        SSLCertificateKeyFile /home/server/conf/hosts2.key

        <FilesMatch "\.(cgi|shtml|phtml|php)$">
                SSLOptions +StdEnvVars
        </FilesMatch>

        <Directory "/home/server/cgi-bin">
                SSLOptions +StdEnvVars
        </Directory>

        BrowserMatch ".*MSIE.*" \
                nokeepalive ssl-unclean-shutdown \
                downgrade-1.0 force-response-1.0
        CustomLog /home/server/logs/ssl_request_log \
                "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

-----------------------------------
.htaccess for all hosts look like
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^host1.com [nc]
rewriterule ^(.*)$ http://www.host1.com/$1 [r=301,nc]

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message