Welcome Guest ( Log In | Register )



 
Closed TopicStart new topic
> Url Problems, some questions about URL
wanhafizi
post Jan 15 2005, 03:18 PM
Post #1


Advanced Member
Group Icon

Group: Members
Posts: 145
Joined: 13-December 04
Member No.: 1,734



i've installed phbb on my site. the forum worked fine, but the strangest thing i've found out is that these URL are NOT the same;
1. http://jerantut.com.my/forum/
2. http://jerantut.com.my/forum

the second URL will display me an error msg. why? arent they are supposed to have the same meaning?

thanks
Go to the top of the page
 
+Quote Post
NilsC
post Jan 15 2005, 05:26 PM
Post #2


To Err Is Human, To Forgive Divine
Group Icon

Group: Members
Posts: 558
Joined: 24-December 04
From: http://www.ultimatekayakfishing.com/
Member No.: 1,871



I'm no expert on this but I'll try to explain it the way I understand it smile.gif

When you supply a URL with an explicit filename, the page shows up with minmal extra work for the server.

The URL with trailing slash makes the server work a little extra. It recognizes the last part of the URL as a directory because it has a slash after it. However, there is no filename stated. So the server looks for the default filenames:

index.htm
index.html
default.htm
default.html


You can change this default setting on the server to another filename (don't ask me how) smile.gif

When a server first sees a URL without an explicit filename or trailing slash, it first checks to see if it is a filename. So, in this case, the server checks the root directory on http://jerantut.com.my/forum to see if there is a filename called forum. If it finds that file, then it will be displayed. However, if it does not find a file by that name, it will assume it is a subdirectory. It will try to find the forum subdirectory and then the default filename within the directory.

I had this saved on my computer, I can't find the URL from where I got this info. I think it was a universty in Australia or a Library service in US.... If anyone know the site let me know so I can give proper credit.

Nils
Go to the top of the page
 
+Quote Post
OpaQue
post Jan 21 2005, 12:26 AM
Post #3


Administrator
Group Icon

Group: Admin
Posts: 467
Joined: 26-August 04
Member No.: 1
myCENTs:85.82



Also, please ensure that you PUT a file called Index.html in each and every folder (even an empty file will do ). That will not expose your files.

Your might be prone to the following risks :-
1> Folder containing php files can be abused and you might get hacked.
2> If it contains Images, there are more chances of Hotlinking and you will lose your BW.
3> You expose secret files and even sub-directories.

Go to the top of the page
 
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Domain Problems(3)
  2. And More Questions(2)
  3. Cpanel Login / Email Bounce(2)
  4. Does Posting Legit Questions Count As Posts?(1)
  5. Login Problems(3)
  6. Technical Questions(1)
  7. Hosting Problems(3)
  8. Arg...(2)
  9. Server Status(3)
  10. Problems Upgrading(1)
  11. Questions About My Hosting Account(2)
  12. Fading Banner Causing Problems In Forums(1)
  13. Two Questions About Free Hosting(7)
  14. 2 Questions(language)(0)
  15. Hosting Questions: (garbesi)(3)
  1. Getting Started With Asta Hosting(1)
  2. Hosting Problems(12)
  3. Problems With Creating Account(15)
  4. A Couple Of Questions About Your Service(9)
  5. Can't Able To Access "frequently Asked Questions" Area(10)
  6. Hosting Process Page Is Having Some Problems!(1)
  7. Problems With Gamma Server(2)
  8. My Account DNS(5)
  9. I Have Questions About Hosting(4)
  10. Questions(3)
  11. Existing Problems(4)


 



- Lo-Fi Version Time is now: 2nd December 2008 - 12:35 AM