Page 1 of 1

Changing Index of / page

PostPosted: 21. May 2012 09:25
by astonlecren
Hey

I want to change the page you get when theres no index file and you go to http://localhost/ and it says


Index of /


Apache 2.2 bla bla bla


Help thanks!

Re: Changing Index of / page

PostPosted: 21. May 2012 11:00
by AndzinSan
If you dont want to see directory content of page where is not index.* file, just turn out autoindex module in httpd.conf

Re: Changing Index of / page

PostPosted: 21. May 2012 11:11
by astonlecren
I want to be able to change the Index of / to something else. Can you help me?

EDIT: I dont want an index.html or .php file either I want to have .zips in my htdocs folder and the Index of / page will say something else

Re: Changing Index of / page

PostPosted: 21. May 2012 11:24
by AndzinSan
I am not sure if I understand you. You want to change html source of page generated when you listening root / in browser without index.* file? Page displayed when there is not index (or other indexed file spicified) file is automatic generated by module autoindex in apache. This output cant be edited. If you use autoindex_color module, you can specify some collors and with iconv module you can specifi file icons and desriptions based on extesion or mime type.

Re: Changing Index of / page

PostPosted: 21. May 2012 11:33
by astonlecren
Yes,and damn. Oh well, thanks

Re: Changing Index of / page

PostPosted: 21. May 2012 17:12
by JonB
You need an 'autoindex' script - (often made in PHP or Perl)

Google for 'AutoIndex scripts'

Good Luck
8)