PDA

View Full Version : httpdocs-directory


Sidious
08-09-2002, 14:49
Could you please give your users the possibility to specify the position of the httpdocs-directory using the ini-file and/or a parameter for the commandline?

Thanks!

N. Werensteijn
10-09-2002, 02:07
Why? its just like any other application data.

Sidious
10-09-2002, 05:51
Originally posted by N. Werensteijn
Why? its just like any other application data.
Because in the moment, the binary and the httpdocs-directory need to be in the same directory. But the Filesystem Hierarchy Standard (http://www.debian.org/doc/packaging-manuals/fhs/) asks us to put the binaries into /usr/bin (or /bin, /sbin /usr/sbin) and the application data into /usr/share. When i put the binary into /usr/bin and someone tries to start it from there, he won't have a web-interface within that session.

ScratchMonkey
10-09-2002, 08:51
Agreed. You could also have the program search the current directory and /usr/share/tss2 for the httpdocs subdirectory, if no directory is specified.

BTW, why is the server called "linux_server" instead of tss2? (Or to follow the pattern of daemons, ts2d. Or even teamspeak2d.) It's rather anonymous in the context of other service programs.

N. Werensteijn
10-09-2002, 15:51
Because is a linux newbie :)

TS2 linux client uses the Filesystem Hierarchy Standard but Ralf is ignorant about that stuff. Ill tell him when he is back.

And forgive me my initial question, i thought you were referening to the windows platform.

ScratchMonkey
11-09-2002, 03:19
We were all newbies once. And for those of us who are contantly poking our nose into new stuff, we remain newbies for life! ;)

N. Werensteijn
11-09-2002, 14:20
Confusious could not have said that better.