LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-25-2007, 03:44 AM   #1
newbie734
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
web hosting on linux


Hi,

I have a requirement of a program that must run on a linux server, which should create links dynamically to all the files within some folders it contains.I would just like to have a html page which would provide links to the folder names on the server and when each of them is clicked one program should execute which in turn should open a new browser window containing links to all the files in that particular folder on the server.Can anyone suggest what technology to use which would be supported on linux?



Thanks,
newbie734
 
Old 01-25-2007, 05:28 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I would imagine pure html could handle this.. unless your wanting something differently.
 
Old 01-29-2007, 02:50 AM   #3
newbie734
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Hi trickykid,


Could you elaborate on how you think it can be done?

Thanks,
newbie734
 
Old 02-01-2007, 01:03 AM   #4
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Rep: Reputation: 31
Please post a little more detailed of a specification and description.

Have you looked into anything existing to do this?

By "dynamically created" I assume that you want the listing to be created every time the page is viewed, so that it is always up-to-date?

Have you considered the security implications of this?

What is your target audience? If it is for yourself or other sysadmins, a tool like Webmin could do this and a lot more.

Are the directories readable by the user that your web server runs as (usually 'wwwrun' for Apache)?

What web server are you using? PHP? Perl? Python? What versions?

If your web server user can read the directories? If so, this would be an easy PHP script. Give me the full specification and I'll write something up to get you started. If not, you'll have to use a perl or python (or other CGI) script that runs as a specific user, which is dangerous...
 
Old 02-27-2007, 06:42 AM   #5
newbie734
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Hi jantman,

Thanks for the reply.
I was wondering if JSP would work on Linux, since it is platform independent?

The webpage is for internal viewers, so the audience does have read permission.

None of the servers you have mentioned is installed.Do I need to install Apache for working with Linux?


Thanks,
newbie734.
 
Old 03-07-2007, 05:25 AM   #6
newbie734
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,

Please see the answers inline.

By "dynamically created" I assume that you want the listing to be created every time the page is viewed, so that it is always up-to-date?

Yes.The listing has to be created every time the page is viewed.Have you considered the security implications of this?

What is your target audience? If it is for yourself or other sysadmins, a tool like Webmin could do this and a lot more.

Target audience is internal and restricted.
Are the directories readable by the user that your web server runs as (usually 'wwwrun' for Apache)?

Yes.The directories are readable.
What web server are you using? PHP? Perl? Python? What versions?

PHP version 4.1.2 . Perl version 5.6.1 are running on the server.Apache 1.3.27 also.
If your web server user can read the directories? If so, this would be an easy PHP script. Give me the full specification and I'll write something up to get you started. If not, you'll have to use a perl or python (or other CGI) script that runs as a specific user, which is dangerous...
Yes.The web server can read the directories.
 
  


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
Linux web hosting n0dl Linux - Newbie 12 01-25-2007 06:25 PM
LXer: Web Hosting Provider Verizon Business Expands Managed Hosting ... LXer Syndicated Linux News 0 09-17-2006 06:21 AM
Free Linux Web Hosting Companies ??? winxandlinx General 6 09-01-2006 01:04 AM
LXer: Web Hosting Provider Zen Internet Offer Linux Hosting Trial for 1 ... LXer Syndicated Linux News 0 04-20-2006 09:33 PM
Linux Web Hosting MandrivaUser Linux - Software 6 02-16-2006 01:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:57 PM.

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