The UNIX and Linux Forums  
Hello and Welcome from to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
OpenGL installation on Debian Linux royalibrahim UNIX for Advanced & Expert Users 0 12-10-2007 06:05 AM
Debian (ubuntu) file problem after ftp royalibrahim Ubuntu 4 10-17-2007 10:36 AM
debian network installation yogesh_powar Debian 0 10-19-2005 11:50 AM
Debian aptitude - apt-get problem mikek147 UNIX for Advanced & Expert Users 1 09-15-2002 09:13 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-22-2006
gauri_agr gauri_agr is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 14
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
  #2 (permalink)  
Old 01-22-2006
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
(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 (permalink)  
Old 01-23-2006
gauri gauri is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 42
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 (permalink)  
Old 01-23-2006
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
Then put your welcome.html in /var/www. It should now be served at the correct URL.
  #5 (permalink)  
Old 01-24-2006
gauri gauri is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 42
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 (permalink)  
Old 01-24-2006
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
Quote:
Originally Posted by gauri
I try to keep my welcome.html under /var/www but still it didnt work.
Please avoid just saying something doesn't work, but give more description of the output. For instance, the output is "forbidden"? "not found" etc.? Also please find out the corresponding lines in access.log and error.log when you have the file in /var/www and then use the URL http://host:port/welcome.html, and see if there is any indication.

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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:06 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0