| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| WASTHEBEST -
 
 
 Joined: 10 Oct 2003
 Posts: 3
 
 
 | 
			
				|  Posted: Sat Oct 11, 2003 6:40 pm    Post subject: Make http://mysite/mypage.htm equal to http://mysite/mypage |   |  
				| 
 |  
				| Sorry if this question has been answered already but I just got tired of looking at the backlog of posts. 8O (I wish everyone would post with a meaningful subject)
 
 I want to be able to access a webpage without the htm extension:
 
 http://mysite/mypage
 
 instead of
 
 http://mysite/mypage.htm
 
 
 I know this is possible because I've tried it with established sites.
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| Karasu Kami -
 
 
 Joined: 22 Sep 2003
 Posts: 712
 Location: Colorado
 
 |  | 
	
		| Back to top |             | 
	
		|  | 
	
		| olly86 -
 
 
 Joined: 25 Apr 2003
 Posts: 993
 Location: Wiltshire, UK
 
 | 
			
				|  Posted: Sat Oct 11, 2003 11:24 pm    Post subject: Re: Make http://mysite/mypage.htm equal to http://mysite/myp |   |  
				| 
 |  
				|  	  | WASTHEBEST wrote: |  	  | http://mysite/mypage 
 instead of
 
 http://mysite/mypage.htm
 
 
 I know this is possible because I've tried it with established sites.
 | 
 
 It is - i use dir (folders) inside the htdocs dir :!:
 
 eg: servername/login
 
 would be servername/login/ and then linking to your defalut page (eg index.html
 
 Is that what you were looking for :?:
 _________________
 Olly
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| aprelium -
 
 
 Joined: 22 Mar 2002
 Posts: 6800
 
 
 | 
			
				|  Posted: Sun Oct 12, 2003 5:01 pm    Post subject: Re: Make http://mysite/mypage.htm equal to http://mysite/myp |   |  
				| 
 |  
				| As said olly86, create a subdirectory in htdocs/ called mypage and put your HTML file inside it and rename it index.html . When accessing http://mysite/mypage , the server will act as if you typed http://mysite/mypage/index.html . _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| mcwilliams132 -
 
 
 Joined: 27 Jul 2003
 Posts: 167
 Location: Oshkosh, WI
 
 | 
			
				|  Posted: Mon Oct 13, 2003 6:21 pm    Post subject: Re: Make http://mysite/mypage.htm equal to http://mysite/myp |   |  
				| 
 |  
				| 
 Correct...
 
 Making sure that either default.htm(l) or index.htm(l) is the root page of the directory/folder...should produce the results you're looking for...
 _________________
 ::::::::::::::::::::::::::::::::::::::::::::::::::
 :: Jon-Paul LeClair
 :: http://mcwilliamsworld.com
 :: "Lobster sticks to magnet!"
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| WASTHEBEST -
 
 
 Joined: 10 Oct 2003
 Posts: 3
 
 
 | 
			
				|  Posted: Wed Oct 15, 2003 7:18 pm    Post subject: |   |  
				| 
 |  
				| I'm sure there's great utility to what you guys have suggested, but it seems to be a workaround to the actual problem.  I guess the actual issue that I should have brought forward is if there is a way to get the server to reinterpret mypage to mypage.htm (with the htm extension.)  In some sites, when you type in http//mysite/mypage
 the browser's address bar automatically reasserts itself as
 http//mysite/mypage.htm
 
 This may very likely be a coding issue of the page or the server itself.  Of course this will be my responsibility to determine which it is; I bring it up here to zerro in on the solution.
 
 The reason why I place such emphasis on this problem is because although this is merely a cosmetic issue, it nonetheless provides transparency and consistency to visitors of a standard webpage.
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| nirvanasource -
 
 
 Joined: 31 Oct 2003
 Posts: 6
 
 
 | 
			
				|  Posted: Fri Oct 31, 2003 10:51 pm    Post subject: |   |  
				| 
 |  
				| I'm no veteran, but you could set up an alias maybe. 
 Show Console>Server Config>Advanced>Aliases
 
 Virtual Path:
 mysite/mypage
 
 Real Path:
 mysite
 
 You would have to add "mypage.htm" to the Index Files list in Server Parameters.
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		|  |