[OT] webserver ?

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Wed May 5 18:39:12 UTC 2004


Am Mi, den 05.05.2004 schrieb MW Mike Weiner (5028) um 19:21:

> Actually, yes I read the documentation and it wasn't working, that's why
> I wrote back to the list. The write conditions as previously stated
> SHOULD take care of any non www request as you are saying, but its not
> working for blah.com alone.
> 
> Thanks
> Michael

Curious. You could create a file named info.php in your DocumentRoot
with following content:

<? phpinfo(); ?>

Then call that document using different URIs and have a look at the
output at bottom of the page where the %{HTTP_HOST} variable is listed,
besides others. My own testing showed nothing unexpected when testing
this way with (namebased) vhosts where different domain names resolve to
the same IP, where I have one ServerName and several ServerAlias
entries.

Sorry, I have no hint why the rewrite rules do not work as the should
for the domain.tld call. You could also activate

RewriteLog    /var/log/httpd/rewrite.log
RewriteLogLevel     <value>

Attention: use RewriteLogLevel values with care! For short debugging
start with 3 or 6. Disable that setting after you found out what you
search for.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2188.nptl
Sirendipity 20:29:45 up 8 days, 19:18, load average: 0.41, 0.33, 0.30 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040505/215b8ff0/attachment-0001.sig>


More information about the fedora-list mailing list