the link is in the webspace dir, i get an error message...
You don't have permission to access /logdir/1001.log on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
You need to be more precise... Where is the link to which dir? Did you make a symlink to your log dir, and is the symlink in your webspace dir? Why is it not visible? Not visible how? Do you get an error message? Etc...
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
alright, theres a link to the dir, but of course its not viewable, so next step would be to...? A, ask the sysadmin, or B, create a way for a page to view the files?
OK, it's a Linux system. (Fedora is a Linux distribution.) That means that the 'short cut' is a symbolic link (symlink for short).
You can create symlinks like this: ln -s DEST_DIR LINK_NAME. For example, ln -s /my/mud/directory/log logdir. You could do something like that from your web dir, logged in from the shell.
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
well when you cd the directory, it brings you right back to the directory... using winscp when you look at the properties it shows that its a shortcut to the directory, where my webstuff is stored.
well i know i have 20mb for a webspace for the mud, and it has a short cut in it... which i find weird cause its a short cut in the directory... to the directory...
Well, first and foremost, you have to figure out if your MUD host also gives you webspace. Then you need to figure out if the process the webserver runs under has permission to read you MUD's log directory. Get the basics working first, then worry about passwords etc.
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
You will need to give your webserver permission to read files in the log/ directory. Then you should be able to just build an index of files with links to each file. If you want a password you could do it with .htaccess (assuming you're running Apache). You can google for .htaccess, or if you're not using Apache, search your webserver's docs for HTTP authentication.
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
Alright this doesn't really pretain to coding smaug exactly... but I'm looking for a way to display logs on the web, or able to read the from the web, with a password and such. I'm not exactly the best with making things like this, But it could be a very useful feature, for atleast me anyway.
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.