Welcome to Geeklog, Anonymous Thursday, February 02 2023 @ 04:16 pm EST

Geeklog Forums

Miscellaneous


Anonymous

Anonymous
Hi i got some questions that are indirectly related to geeklog. i need help neverhteless.. I need to find out how can I make apache to display a custom 404 message, if there is no index.html or index.php... it has to apply to my folder only and not the whole server. Shellscript? Also i need to protect some folder from other users on the server, like the /home directory... but one folder. I don't ave root, and i just want there changes to my folder any help would be AWESOME
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
For the 404 page, create a file called .htaccess (note the dot) in your document root and put this line into it (for Geeklog's 404 page): ErrorDocument 404 /404.php bye, Dirk
 Quote

Anonymous

Anonymous
Hmm... that did not seem to work, how about a shellscript to place an indexfile in every folder that does not have one...
 Quote

All times are EST. The time is now 04:16 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content