NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Small URL problem

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 04-06-2006, 05:25 PM THREAD STARTER               #1 (permalink)
Senior Member
Join Date: Jan 2005
Posts: 1,201
FanCube is a splendid one to beholdFanCube is a splendid one to beholdFanCube is a splendid one to beholdFanCube is a splendid one to beholdFanCube is a splendid one to beholdFanCube is a splendid one to beholdFanCube is a splendid one to behold
 



Small URL problem


I have a small problem which I am sure can be solved in a simple way (at least I hope so )

The server in quetion is running a default installation of the latest current cPanel.

My problem is very simple: when I type in WebSite.com/something/ (with a slash at the end) I am showed the page located at the directory "something" and the adress bar is showing the URL: WebSite.com/something/ but when I type in WebSite.com/something (without a slash at the end) will the address bar change to www.WebSite.com/something/ (yeah I know a small problem )

Does anyone know a simple solution to this problem such as uploading a .htaccess file or a change in the httpd.conf?
????: NamePros.com http://www.namepros.com/programming/184527-small-url-problem.html

Will give a small NP$ donation to a solution.
__________________
UNICEF
UGB.net
FanCube is offline  
Old 04-06-2006, 07:15 PM   #2 (permalink)
 
BillyConnite's Avatar
Join Date: Jul 2005
Location: Coffs H, Australia
Posts: 3,456
BillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond repute
 


Wildlife Parkinson's Disease Parkinson's Disease
Hey FanCube,

Do you mean that when you type in the URL site.com/directory/ it will show the contents of the directory? And you don't want it too?

Or am I getting this wrong lol.
????: NamePros.com http://www.namepros.com/showthread.php?t=184527

Well if that your problem you can open up the htaccess file and add this to the top:
Code:
IndexIgnore *
That will disallow file listings of all files.

Let me know if i've gotten the wrong impression
BillyConnite is offline  
Old 04-06-2006, 07:24 PM   #3 (permalink)
Senior Member
 
Eric's Avatar
Join Date: Mar 2005
Posts: 4,948
Eric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatness
 

Member of the Month
MOTM September 2005
Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Animal Rescue Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund Baby Health Cancer Alzheimer's Protect Our Planet Cancer Survivorship SIDS Child Abuse Diabetes Protect Our Planet Multiple Sclerosis Autism Adoption Special Olympics
Code:
Options -Indexes
Aswell
Eric is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 12:55 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger