Shoutbox

generated page index - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: generated page index (/showthread.php?tid=74044)

generated page index by Jarrod on 04-30-2007 at 06:25 AM

i've seen it done before. my pc is already set up as a web server on port 443 (encrypted connections https) but i want to put stuff in the root directory and have a script  or something to index everything in the same directory like windows explorer i think ive seen it done on ftp sites as well
is it a program or script and how do i set one up?


RE: generated page index by Sypher on 04-30-2007 at 06:37 AM

Try this


RE: generated page index by Jarrod on 04-30-2007 at 08:54 AM

not wat i needed i already have my server set up and it works i just want to add a file explorer like interface to it


RE: generated page index by WDZ on 04-30-2007 at 09:06 AM

Here's a popular PHP-based directory listing script: http://www.evoluted.net/community/code/directorylisting.php

I'm sure you could find more like that with some searching... :p

Edit: Another good one: http://autoindex.sourceforge.net/


RE: generated page index by Menthix on 04-30-2007 at 10:52 AM

quote:
Originally posted by xen0h
i already have my server set up
Are you running Apache? In that case the easiest thing is use mod_autoindex to create something like http://random.menthix.net/

If you're lazy, and you want it to look exactly like mine:
  • Have mod_autoindex enabled in the server config. It should be by default, so don't worry about that.
  • Download http://random.menthix.net/MenthiXs_fancy_autoindex.zip
  • Extract it, and upload the 4 files to the folder that you want to have autoindex on (subfolders will automatically be autoindexed too)
  • If you are autoindexing the rootfolder of your site everything should work now.
  • If the autoindex is not in the rootfolder of your site, open .htaccess for editing, and change line 3 and 4 to the correct absolute path... after that open .header.html and change line 6 to the correct absolute path.
  • Edit everything else as you wish :).

Let me know how it worked / when you have questions.
RE: generated page index by Jarrod on 04-30-2007 at 12:22 PM

that's wat i want MenthiX
i'm running apache2 or something, i think i accidently opened the scr file  (i don't believe i changed it) but it won't let me test it, the error i get is the attached jpg image how do i fix that?


RE: generated page index by Menthix on 04-30-2007 at 12:27 PM

quote:
Originally posted by xen0h
i think i accidently opened the scr file
Uhm, which scr file? Or do you mean style.css?

I don't know what's causing that serial error, doesn't seem like anything that could be caused by my files. When exactly do you get the error... when trying to view a page on your site? Does the error go away when you remove my files?
RE: generated page index by Jarrod on 04-30-2007 at 12:31 PM

yeah it wasn't caused bu your files i think i opend i swear i didn't mod it
C:\OpenSA\Apache2\conf\ssl.csr\server.csr
have a go your self
url: https://220.233.212.247/webed
can someone upload theirs?


RE: generated page index by Jarrod on 05-04-2007 at 01:31 PM

ok MenthiX i've reinsalled my server my dir structure is

root
      (dir)
      (dir1)
         index files
       (dir2)

i don't get what the new path should look like

(dir1)/.header.html?


RE: generated page index by Menthix on 05-04-2007 at 02:43 PM

/(dir1)/.header.html


RE: generated page index by Jarrod on 05-05-2007 at 12:23 AM

it doesn't work no matter where I put it I get a 403 forbidden even if it's in a folder that i could access before
do I need to make some reference to the four files in index.html?