|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Feb 2002
Location: phx az
Posts: 208
|
html gurus please help
okay, im workin on a site for my realtor, but i have run across a simple problem (so i thought, should be for you guys though)
he wants to access a folder, http://sitehere/directory but, without the / at the end (http://sitehere/directory/) i am getting a page cannot be displayed, can anyone please provide assistance around this, as i am not sure what to do. most sites ive seen you can type it without the / at the end it will go to the page, mine however is being a bitch, what to do?
__________________
why do i do what i do? |
|
|
|
|
|
#2 |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
format c:
|
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
|
huh?
it would work as long as it falls into your servers parsing ie: index.htm index.html default.htm |
|
|
|
|
|
#4 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
|
if hyper's suggestions don't work, try amp's.
__________________
php/mysql guru. hosting, coding, all that jazz. |
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Feb 2002
Location: phx az
Posts: 208
|
hyper, thats what i thought, but without the / it gets page cannot be displayed, any other suggestions? amps is a last resort
__________________
why do i do what i do? |
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
|
what server
what os |
|
|
|
|
|
#8 | |
|
Confirmed User
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
|
Quote:
sounds like a config problem to me there are tons of reasons such as this one with a non-standard port, if you specify the trailing slash on a URL, IIS leaves the URL alone. Leave the trailing slash off, and IIS does a redirection to the URL with the trailing slash, and *adds the port number* to the URL. This is an issue that comes up if you have a need to run sites on different ports and have a piece of equipment in front masking the ports to keep things nice looking: http://all.your.org/are/belong/ This url points to port 80 (the assigned port), but when it reaches me, I've got a LocalDirector that knows it really goes to all.your.org:4553. So it sends the request on to my IIS server at port 4553 instead of 80. IIS is okay with the URL like this (with the trailing slash) --nothing gets transmuted. On the other hand, http://all.your.org/are/belong hits the LocalDirector just fine, and the LD pushes it to my IIS server's port 4553, but IIS tweaks it with a redirect to http://all.your.org:4553/are/belong/ which, for a couple reasons, can cause headaches and goose chasing. Solution? (1) don't omit the trailing slash on sites that are not on default ports (80 or 443) (2) the LocalDirector needs to listen to the non-standard port for requests in the event the URL does get changed to include the port number |
|
|
|
|
|
|
#9 |
|
Confirmed User
Join Date: Jul 2001
Location: az
Posts: 8,464
|
index.html should work or htm or shtml whatever... as long index
|
|
|
|