httpd-dev mailing list archives

** POSSIBLE BUG **
I'm not having this exact problem. The compile errors are nothing, and I'll
make
a small patch for them to go away. Basicly it needs 3 type casts for it to
accept
them.
I am having a similar problem with a virutal host though. I have not been able
to track that down with 8.10.(no patches applied). I think 8.9 did work though
I'll have to recompile that and try it.
Here is the situation:
# insmod -o dummy0 dummy.o <- setup a dummy eth1
# ifconfig dummy0 206.64.187.60 <- set an ip for it
# arp -s 206.64.187.60 00:00:00:00:00:31 <- set correct internal
arp for it
# route add 206.64.187.60 metric 1 dummy0 <- route the sucker
At this point I can ping .60 and everything is okay from the routing point.
I added the virtual host entry in httpd.conf:
<VirtualHost 206.64.187.60>
ServerAdmin webmaster@qosina.com
DocumentRoot /usr/local/etc/httpd/qosinet
ServerName www.qosinet.com
ErrorLog logs/qosinet-error_log
TransferLog logs/qosinet-access_log
</VirtualHost>
I added the appropriate entried in my named files. But when connecting to the
port using Netscape, I don't get anything. And it finally times out. No
errors
anywhere.
Here is the twist:
If you telnet to 206.64.187.60 port 80 you can actually get:
[401] [12:51pm] [/usr/local/etc/httpd/logs]#telnet 206.64.187.60 80
Trying 206.64.187.60...
Connected to 206.64.187.60.
Escape character is '^]'.
GET /index.html
<<<<- Typed by hand
<HTML>
<title>Home Page</title>
<body>
<font size=6>W<font size=4>welcome
<font size=6>T<font size=4>o
<font size=6>T<font size=4>est
</body>
</html>
Connection closed by foreign host.
I have not been able to track this problem.
<Aram>
>> During the compile I get 3 warnings:
>>
>> good compiles...
>>
>> util.c:Infunction 'get_remote_host'
>> util.c:768: warning: passing arg2 of 'pstrdup' discards 'const' from pointer
>> target type
>> util.c: In function 'find_fqdn':
>> util.c:838 warning: passing arg2 of 'pstrdup' discards 'const' from pointer
>> target type
[stuff deleted]
>> mod_access.c: In function 'create_access_dir_config':
>> mod_access.c:96: warning: assignment makes integer from pointer without a
cast
>>
>> good compiles to end:
>>
>> moved up the new executable
>> tweaked the srm file a bit to get it to run. had to change the addtype line
>> a bit
>> then it ran fine... but.
>> I can't see the server from outside.
>> I can't ever connect with the server.
>> It just seems to do nothing!
>>
>> In the error_log the only entry is:
>> [Mon Aug 21 17:08:30 1995] Server configured -- resuming normal operations
>> then nothing till I reboot the machine or restart apache 6.5 upon which It
>> starts running fine again. all other configurations are the same. file
>> directories are the same.
>>
>> Steve
>>
>> >>
>> >> www.troubador.com
>> >> stecla@troubador.com
>> >>
>> >> I'm running apache 6.5 with no problems
>> >>
>> >>
>> >> I can compile 8,10 with linux 1.1.59
>> >> but when I try to run it with in place of 6.5 it's like the server just
>> >> isn't there. I get no errors on the execution of httpd but IT just does
>> >> nothing.
>> >
>> >If you're using the same config files as before, it ought to work.
>> >
>> >Nothing in the error-log ?
>> >
>> >rob
>> >
>> >
>>
>>
>>
>>
>
>
--
Aram W. Mirzadeh, MIS Manager, Qosina Corporation
http://www.qosina.com/~awm/, awm@qosina.com