Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#73213 - 19/02/2002 14:57 Hijack web root?
guardian__J
enthusiast

Registered: 28/01/2002
Posts: 265
Loc: MI, USA
what dir does hijack use as a webroot?
I've looked in the hijack faq but couldn't find anything...
what I'm looking for is to be able to enter http:\\empegJohn\ and have it go to a default page. Is this possible with the web server in hijack?
_________________________
guardian__J
MKIIa 20g Smoke

Top
#73214 - 19/02/2002 15:39 Re: Hijack web root? [Re: guardian__J]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
From what I remember, the default directory is the root dir ( / ).. it would be handy to have config options to specify the root dir (and prevent .. from accessing anything above of corse) for HTTP and FTP access.

Top
#73215 - 19/02/2002 15:44 Re: Hijack web root? [Re: Yang]
guardian__J
enthusiast

Registered: 28/01/2002
Posts: 265
Loc: MI, USA
do you know what the default page name is?
_________________________
guardian__J
MKIIa 20g Smoke

Top
#73216 - 19/02/2002 15:57 Re: Hijack web root? [Re: guardian__J]
guardian__J
enthusiast

Registered: 28/01/2002
Posts: 265
Loc: MI, USA
nevermind i found it...it's index.html
unfortunatly it only works when khttp_files=1 not 0
_________________________
guardian__J
MKIIa 20g Smoke

Top
#73217 - 19/02/2002 17:43 Re: Hijack web root? [Re: guardian__J]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
That's the next part of the FAQ to go up... ftp and http stuff. I'm workin on it! It's having to compete with my empeg home component box at the moment... and it's loosing. =]
_________________________
|| loren ||

Top
#73218 - 19/02/2002 17:49 Re: Hijack web root? [Re: guardian__J]
Alan
member

Registered: 06/05/2000
Posts: 142
Loc: Cedar Grove , IN
You can put an index.html in every directory you don't want browsed, it keeps the lookers out. Put a link <play> on the index.html page at / ,that points to /drive0/fids/101?.htm. Then you'll only have to remember your ip.
_________________________
home page

Top
#73219 - 19/02/2002 19:17 Re: Hijack web root? [Re: Alan]
guardian__J
enthusiast

Registered: 28/01/2002
Posts: 265
Loc: MI, USA
thanks for the tips...
but, that doesn't prevent people from viewing the config.ini and getting my ftp password...
and I already turned on http_dirs = 0 so people can't look in...
I do have a link to the playlist, that was why I wanted to set it up this way...
maybe Mark could add something to allow us to have a index.html in root only and have that one ignore files=0, just and idea...

by the way...don't have to remember the ip if you use findempeg it'll add a entry to the hosts file to allow entering common word descriptive name. works great when dhcp changes addresses :-)
_________________________
guardian__J
MKIIa 20g Smoke

Top
#73220 - 21/02/2002 11:12 Re: Hijack web root? [Re: guardian__J]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Webroot would not work on a 2-drive empeg, since the playlist files can be scattered randomly across either drive, and the two drives are mounted at /, rather than under a /mnt subdir. So that's a nonstarter (too bad, really).

But I suppose we could have hijack still allow html file access even when "khttpd_files=0". Objections, anybody?

-ml

Top
#73221 - 22/02/2002 08:11 Re: Hijack web root? [Re: mlord]
guardian__J
enthusiast

Registered: 28/01/2002
Posts: 265
Loc: MI, USA
None here, that's really all I was looking for...
_________________________
guardian__J
MKIIa 20g Smoke

Top
#73222 - 22/02/2002 08:20 Re: Hijack web root? [Re: guardian__J]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Good. It's in v202.

Top
#73223 - 22/02/2002 08:30 Re: Hijack web root? [Re: mlord]
guardian__J
enthusiast

Registered: 28/01/2002
Posts: 265
Loc: MI, USA
yeah I noticed that in another thread...replied to quick...
You've been quite busy posting since you came back...
Did you have a nice vacation?
_________________________
guardian__J
MKIIa 20g Smoke

Top
#73224 - 22/02/2002 08:31 Re: Hijack web root? [Re: guardian__J]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
>Did you have a nice vacation?

This is my vacation!

(yes, thanks)

Top