Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 1243

The default file that gets shown when for a directory on a web server, usually index.html

3 votes
Accepted

Is it possible to display the path with an Apache index listing with a custom header?

I think the "Apache-way" would be to use Server-Side-Includes (SSI) (mod_includes). There does not appear to be a way to access this information with mod_autoindex, nor to output arbitrary variables ( …
MrWhite's user avatar
  • 43.1k
1 vote

Using one index file in all directories and subdirectories

Is there a method to tell the webserver (Apache, nginx, ..) that if an index file is not present in a directory under document root, then it should use the specified index.php located elsewhere? …
MrWhite's user avatar
  • 43.1k
7 votes
Accepted

Redirect from index.html to its directory using .htaccess?

You can do this using mod_rewrite near the top of your .htaccess file. In its simplest form this would be something like: RewriteEngine On # Remove "index.html" RewriteRule (.*)index\.html$ /$1 [R=30 …
MrWhite's user avatar
  • 43.1k