LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2006, 08:22 AM   #1
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Rep: Reputation: 37
Getting the sub-pages of a web-page


Hey there!!!
Does anyone know how we I get the sub web-directories of a web-site?
Lets set the case that the given (awebsite.com) has got (awebsite.com/sub-site).
I am using Linux(BackTrack) and i want to do this through a console window
if u know can u tell me as well how can i access this site(no access restrictions).
For example if we are in a dir 'smth' and a subdir of this is 'smthElse' then we normally use cd smthElse. In the case of web surfing how can this be achieved.

Thanks for your time
 
Old 11-09-2006, 08:30 AM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Normally you would provide links on your main page awebsite.com/index.html. The index.html page is typically a default. But if somebody knew the path they could enter a url like http://www.awebsite.com/smth/smthElse/<filename> if no filename is entered then index.html is assumed
 
Old 11-09-2006, 09:22 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by manolakis
Hey there!!!
Does anyone know how we I get the sub web-directories of a web-site?
Lets set the case that the given (awebsite.com) has got (awebsite.com/sub-site).
I am using Linux(BackTrack) and i want to do this through a console window
if u know can u tell me as well how can i access this site(no access restrictions).
For example if we are in a dir 'smth' and a subdir of this is 'smthElse' then we normally use cd smthElse. In the case of web surfing how can this be achieved.

Thanks for your time
When you go to a website, you are entering at a particular point in the directory tree AND FILE on that server. As already stated, the default is "index.html".
You can only access other files and directories if you know the names AND if the site manager has given permission.
For example, I might have a directory named "private" at the entry level on my site (the same level where index.html lives) You could not access this unless I set the permissions.

There is no equivalent to "cd" when using a web browser.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 10:30 PM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM
some web pages are not web opening in linux emailssent Linux - Networking 4 09-19-2004 06:28 AM
Jerky mouse when web browsers download web page stodge Linux - Software 1 07-08-2003 10:29 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration