[Xitami] vhost frustrations
Mike
xitami@lists.xitami.org
Sun, 3 Feb 2002 01:59:49 -0800
Gentlemen,
I have gone through the configs pages, the vhost pages, the faq, xitami
archives and global net searches, as well as debug reporting, trying to get
the limited /setup vhwba to access a test vhost and have failed with every
attempt now for days. Does this function even work?
I'm running 2.5b4, DSL pppoe, through a lynksys router through IE5.5 with
http/1.1 enabled.
This is a dynamic IP. DNS is functioning and I update the dns reflection
through a ddns client. The translation to the server for typical HTTP and
FTP access has worked fine, with ftp directed explicitly to the site sub
directory, below webpages.
For this mail, I refer to a fictitious address being
http://www.hysted.mine.nu as my host url.
During vhost wizard creation, I have allowed the default dns to be acquired
for the "Or, enter DNS host name" field with the profile hostname as
"vhost1" .cfg
Webpage root directory was explicit from drive root, using forward slash
method to /vhost1
FTP was set explicit from drive root, using forward slash method to /vhost1
VH WBA is checked to indicate use of the limited WBA
And user id as "vh1user" and password as "vh1pass"
The "create" was confirmed and the server restarted, just to be sure.
In the resultant profile under vhost, security, passwords, I select the
/setup protected uri and instead of "vh1user" and "vh1pass", I have "admin"
and "-". So I figure this is to avoid "defaults" in administration
profiles.
I convert the user from "admin" to "vh1user" and the password from "-" to
"vh1pass"
I exit through consecutive "saves", restart the server, and check the cfg
and aut files next, they follow here:
vhost1.cfg
-----------------------
#*END
[Accesslog]
Filename = "vhost1.log"
[Ftp]
Root = "c:/program files/xitami/webpages/vhost1"
[Security]
Filename = "vhost1.aut"
[Server]
Webpages = "c:/program files/xitami/webpages/vhost1"
[Wsx]
Admin = ""
____________________________
vhost1.aut
----------
#*END
[/admin]
Admin = "-"
[/setup]
Vh1user = "vh1pass"
______________________________
As far as I can see, I should be able to hit this vhost from the browser in
the /setup realm using
http://www.vh1user@vhost1.hysted.mine.nu/setup
I expect to see an authentication show up under "/setup" realm where
"vh1user" and "vh1pass" will enable the limited VH WBA.
I get back IE5's 404 page cannot be found
I try to hit http://www.hysted.mine.nu./vhost1/ and I get the /vhost1/
directory...no problem
I try http://www.hysted.mine.nu./vhost1/setup and I get the IE5 404 cannot
be found again.
I setup the server to log debug files, empty the log files and repeat the
call to http://www.vh1user@vhost1.hysted.mine.nu/setup
I cycle the logs immediately and check the debug files:
/debug/header.log
------------------
HTTP/1.1 404 Not found
Server: Xitami
Date: Sun, 03 Feb 2002 06:51:49 GMT
Content-length: 117
Content-type: text/html
<HTML><TITLE>Error</TITLE><BODY><H1>
The URL you asked for does not exist on this website
</H1></BODY></HTML>
HTTP/1.1 200 Ok
Server: Xitami
Date: Sun, 03 Feb 2002 06:52:30 GMT
Connection: Keep-alive
Keep-alive: timeout=30, max=50
Content-length: 5327
Content-type: text/html
_____________________________________
/debug/request.log
------------------
GET /setup HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
Host: vhost1.hysted.mine.nu
Connection: Keep-Alive
POST /admin?4F896E56 HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Referer: http://192.168.1.2/admin?4F89695D
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
Host: 192.168.1.2
Content-Length: 17
Connection: Keep-Alive
Cache-Control: no-cache
Authorization: Basic b25jYWxsaW5jOjAxMTM1OA==
_________________________________________________
The error and access logs show the same basically. The post is present,
then the failed get.
Oddly, when I hit the same url with http://www.hysted.mine.nu./vhost1/admin,
It hits the "admin" realm and awaits authentication, which is disabled of
course.
Can anybody help with this? I've been trying for over a week with other
various configurations and I'm getting exasperated.
Thank you in advance.
Mike