![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OpenGL installation on Debian Linux | royalibrahim | UNIX for Advanced & Expert Users | 0 | 12-10-2007 03:05 AM |
| Debian (ubuntu) file problem after ftp | royalibrahim | Linux | 4 | 10-17-2007 06:36 AM |
| debian network installation | yogesh_powar | Linux | 0 | 10-19-2005 07:50 AM |
| Debian aptitude - apt-get problem | mikek147 | UNIX for Advanced & Expert Users | 1 | 09-15-2002 05:13 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
problem in new debian installation
Hi All,
I have insatll one debian OS and facing the following the problems: 1. I want that when i type http://ip.address/wecome.html it should show my welcome.html page. but i am unabe to do rather i am abe to do by following http://ip.address/cgi-bin/welcome.html 2. i am unable to copy any file from this server to anotehr server. I am able to ping any server from that server. I am trying to use ssh but ssh ask me teh root password of the anptehr server Thanks & Regards Gauri |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
(1): You probably need to adjust the DocumentRoot Apache configuration directive (httpd.conf / apache.conf or similar file somewhere in /etc). But before you do that, please check carefully whether the given configuration values are indeed incorrect. Or probably you have just placed your welcome.html in the wrong directory so the URL is incorrect.
(2) Use scp. You will be asked the password (most of the time) for the user account on the destination server. You will find resources on how to use scp with some searching, on google for instance. This is one of them: http://workshop.molecularevolution.o...#file-transfer |
|
#3
|
|||
|
|||
|
Hi cbkihong,
Thanks for looking into my problem. this what i have in my config file DocumentRoot /var/www and i kept my welcome.html in /usr/lib/cgi-bin/ So could you please guide me the two way u explained me. I mean how sud i change Documentroot or the place i kept welcome.html. SCP i will look and will get back to u. Thansk & Regards Gauri |
|
#4
|
|||
|
|||
|
Then put your welcome.html in /var/www. It should now be served at the correct URL.
|
|
#5
|
|||
|
|||
|
thanks for the reply,,,SCP has solved my problem but first problem is still unresolved.
I try to keep my welcome.html under /var/www but still it didnt work.aprt form this i am facing one more problem i need to type teh following to get the welcome page http://ip_address:8080/apache2-defau...n/welcome.html but i dont want this 8080 port to give i want the following http://ip_address/apache2-default/cgi-bin/welcome.html Thanks & Regards Gauri |
|
#6
|
|||
|
|||
|
Quote:
If you have VirtualHosts, the DocumentRoot applied is per virtual host entry instead of the server default one, so you must have some understanding of your existing configuration before you can figure out the problem. Do not put anything in cgi-bin unless you know what you are doing. cgi-bin is reserved for scripts. Therefore, it appears to be incorrect. |
|||
| Google The UNIX and Linux Forums |