• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Question about Web Design

Rkonster

Golden Member
When you go to a web site, it directs you to index.html or index.htm right? Is that always the case? I am not to familiar with how web sites work and would appreciate any help. Thanks.

EDIT:
Thanks for the replies guys. I am trying to get this information using HTTP::Request in Perl, and I cannot seem to do it. Is this possible? Anyone have any ideas?
 
I've been told that index, default and home all work, but as a rule of thumb, you should use index.html because it's the one that everyone supports.
 
Everyone else pretty much covered it, all depends on the server config.

If you want (on a unix host) you use htaccess to set your defaultindex
 
and index.php index.php3 and any other file extension + default.htm/html/asp etc etc.

What was said about it dependant on how the server was setup is true though, i would imagine all webservers allow you to change it to suit you but generally the defaults have already been supplied...

🙂
 
Originally posted by: jfall
Everyone else pretty much covered it, all depends on the server config.

If you want (on a unix host) you use htaccess to set your defaultindex

Let's say I wanted to edit .htaccess to make jackass.html the default index what's the code for that?
 
Originally posted by: RossMAN
Originally posted by: jfall
Everyone else pretty much covered it, all depends on the server config.

If you want (on a unix host) you use htaccess to set your defaultindex

Let's say I wanted to edit .htaccess to make jackass.html the default index what's the code for that?

DirectoryIndex jackass.html *I think*
 
Originally posted by: RagingBITCH
Originally posted by: RossMAN
Originally posted by: jfall
Everyone else pretty much covered it, all depends on the server config.

If you want (on a unix host) you use htaccess to set your defaultindex

Let's say I wanted to edit .htaccess to make jackass.html the default index what's the code for that?

DirectoryIndex jackass.html *I think*


Yep, DirectoryIndex filename.ext will do it. Put the .htaccess in your document root (make sure it has the dot, it is a hidden file in unix)
 
Thanks for the replies guys. I am trying to get this information using HTTP::Request in Perl, and I cannot seem to do it. Is this possible? Anyone have any ideas?
 
Originally posted by: Rkonster
Thanks for the replies guys. I am trying to get this information using HTTP::Request in Perl, and I cannot seem to do it. Is this possible? Anyone have any ideas?

I'm not sure which informaton you are talking about? Are you looking for specific info on http::request?
 
Originally posted by: jfall
Originally posted by: Rkonster
Thanks for the replies guys. I am trying to get this information using HTTP::Request in Perl, and I cannot seem to do it. Is this possible? Anyone have any ideas?

I'm not sure which informaton you are talking about? Are you looking for specific info on http::request?

For example, if I give it a web site, I would like to know what file it directs to.
 
Back
Top