[advanced search]
Results from the most recent live auction are here.
20 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Domain Name Industry Newsletter
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 04-06-2006, 05:25 PM   · #1
FanCube
NamePros Regular
 
Trader Rating: (19)
Join Date: Jan 2005
Posts: 787
NP$: 393.00 (Donate)
FanCube is just really niceFanCube is just really niceFanCube is just really niceFanCube is just really nice
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?

Will give a small NP$ donation to a solution.


Please register or log-in into NamePros to hide ads
__________________
DomainPeak.com - Domains for Sale | CodeChaos.com | XMI.info
FanCube is offline   Reply With Quote
Old 04-06-2006, 07:15 PM   · #2
BillyConnite
 
BillyConnite's Avatar
 
Name: Rhett
Location: Coffs H, Australia
Trader Rating: (77)
Join Date: Jul 2005
Posts: 3,106
NP$: 47.00 (Donate)
BillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant future
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.

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
__________________
<?php if(1===1){ $computer="fine."; }else{ $computer="broken."; } echo "Your computer is ".$computer; ?>
BillyConnite is offline   Reply With Quote
Old 04-06-2006, 07:24 PM   · #3
SecondVersion
while ($awake){ code(); }
 
SecondVersion's Avatar
 


Name: Eric
Location: Kentucky
Trader Rating: (142)
Join Date: Mar 2005
Posts: 4,268
NP$: 1152.00 (Donate)
SecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond repute
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 Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund Cancer Alzheimer's Protect Our Planet
Code:
Options -Indexes


Aswell
__________________

SecondVersion.com - The Personal Blog of SecondVersion
Domain Name Portfolio - Get your free copy. - Version 1.0.3 now available!!
SecondVersion is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
Website Header Design Website Header Design EscrowDNS
Advertise your business at NamePros
All times are GMT -7. The time now is 09:45 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0