GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   html gurus please help (https://gfy.com/showthread.php?t=68334)

wonder 07-18-2002 12:04 AM

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?

Amputate Your Head 07-18-2002 12:08 AM

format c:

hyper 07-18-2002 12:09 AM

huh?
it would work as long as it falls into your servers parsing
ie: index.htm index.html default.htm

mike503 07-18-2002 12:25 AM

if hyper's suggestions don't work, try amp's.

wonder 07-18-2002 12:29 AM

hyper, thats what i thought, but without the / it gets page cannot be displayed, any other suggestions? amps is a last resort

hyper 07-18-2002 12:41 AM

what server
what os

darksoul 07-18-2002 12:47 AM

Quote:

Originally posted by hyper
what server
what os

stinks like windows to me

hyper 07-18-2002 12:49 AM

Quote:

Originally posted by darksoul


stinks like windows to me

yeah me too
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

lagwagon 07-18-2002 04:01 AM

index.html should work or htm or shtml whatever... as long index


All times are GMT -7. The time now is 12:48 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123