Logic behind display of .www folder ??


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Logic behind display of .www folder ??
# 8  
Old 01-10-2007
Quote:
Originally Posted by BOFH
Yea but I believe what he wants to do is have people who go to his website automatically go to the index.htm file where they get the normal "Welcome to my home page" message but there's a link that will just show the directory. I don't think that's possible with what's normally installed. It can be kludged or you can create or search for a script that'll present the directory like the one I found.

Carl
Yes, that's right. Probably It's not what he wants but it's just a possible alternative. From my point of view, your solution is more close to what he wants, of course Smilie
# 9  
Old 01-12-2007
Java Thanks a lot everyone!

Hi all,
Thanks for your suggestions Smilie . I learnt a few concepts from your responses.
I didnt check this forum for a while, as I had finally resorted to generate my own directory listing using CGI (as PHP is not installed in our server). I am halfway through and I hope that would be the only solution cuz I do not have (any idea and) enough privileges to modify the default interpretation of index.htm. I am placing the index.cgi in home dir. It will display the my custom content in a frame and the directory listing in other.
I am planning to incorporate all (ascending or descending order sorting of all columns on clicking the heading column!) features in the CGI I am developing.
BTW, I am not going to publish my home page in internet, cuz the IPs in my company are local IPs and it can be accessed only on intranet. So the visitors will by my own collegues.

Bonus Note:
The reason why I wanted to do this thing was that I was interested in providing a few intranet/internet links which would be useful for my fellow collegues. But at the same time it is impossible for me to constantly update my index.htm to add links corresponding to the current project I am doing (some teams need it from the work perspective!). But I decided to do it, inspite of my friends' comment that its a waste of time! Smilie

Thanks again for your involvement in teaching me the working Smilie

(PS: there was no http server running in my network, the telnet returned "Unable to connect" error. I have apache but i use it only for testing purposes!)
# 10  
Old 01-12-2007
Quote:
Originally Posted by srinivasan_85
(PS: there was no http server running in my network, the telnet returned "Unable to connect" error. I have apache but i use it only for testing purposes!)
Is there some other server that's sharing those files over NFS? Something has to be answering the HTTP requests. It's not magic.
# 11  
Old 01-13-2007
MySQL Telnet error!

Hi,
I am not sure what machine to connect Smilie
So I tried localhost and the machine name given by the command "hostname". I am quoting the responses from telnet: (IP address and hostname have been mutated)
----------------------------Session 1----------------------------------
> telnet 0 80
Trying 0.0.0.0...
telnet: Unable to connect to remote host: Connection refused

----------------------------Session 2----------------------------------
>hostname
m1.zorro.com
>telnet m1.zorro.com 80
Trying 66.59.92.98...
telnet: Unable to connect to remote host: Connection refused

----------------------------Session 3----------------------------------
>telnet localhost 80
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

PS: FYI, the server is indeed on an NFS, which three machines share.

~Srini
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

chroot openssh access www folder

here is the setup<br/> sshd_config: <pre> Match User sftp ChrootDirectory /chroot/sftp </pre> I connect just fine to the folder <pre>/chroot/sftp</pre> However I cannot access the website developer folder due to it being outside the scope of the defined chrootdirectory... (2 Replies)
Discussion started by: dunpealslyr
2 Replies

2. UNIX for Dummies Questions & Answers

Permissions of the folder var/www

what should be the permissions of the folder var/www in my ubuntu ? I need it to be safe and at the same time I need ftp users to be able to edit it. I was wondering if I should create a group with all permissions and add ftp users to this group in unix. what's the standard way to do it ?... (4 Replies)
Discussion started by: aneuryzma
4 Replies

3. UNIX for Dummies Questions & Answers

How to display contents of folder when 'cd' is used

Hi, I am a new learner of Unix. I am currently working on a Solaris 8 machine. Earlier, when I use 'cd <folder name>' command, I am not only able to change the folder but also able to see the contents of the folder as if a 'ls -lt' command was executed. However, since a week, suddenly this... (3 Replies)
Discussion started by: mumashankar
3 Replies

4. Shell Programming and Scripting

display the files in a folder which are older than 1 hour

Hi, I have some files in a folder with different time stamps and I want to display the files which are older than 1 hour. i tried with find. need urgent help. (7 Replies)
Discussion started by: vgs
7 Replies

5. UNIX for Dummies Questions & Answers

display the files in a folder which are older than 1 hour

Hi, I have some files in a folder with different time stamps and I want to display the files which are older than 1 hour. i tried with find. need urgent help. (3 Replies)
Discussion started by: vgs
3 Replies
Login or Register to Ask a Question