problem in new debian installation


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers problem in new debian installation
# 1  
Old 01-22-2006
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  
Old 01-22-2006
(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  
Old 01-23-2006
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  
Old 01-23-2006
Then put your welcome.html in /var/www. It should now be served at the correct URL.
# 5  
Old 01-24-2006
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  
Old 01-24-2006
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Debian

Problem with Wifi driver on Debian Jessie

Hi, I am Konrad , I am a new user of this forum. I am from Poland, so my English isn't good enough. So please be forgiving for me. I read about Bits club or something like that, So I don't know, that I am allowed to write here. But nevertheless I have faced with small problem with wifi driver on... (4 Replies)
Discussion started by: kondziorek
4 Replies

2. Debian

Linux Mint Debian 32 bit installation using Windows (using something like wubi or mint4Linux) )

Hello , Im new at Linux and have problem with instalation Other Mint version has an instalation file like mint4linux , Ubuntu has a wubi to install it through Windows Linux Mint Debian 32 bit doesint has such software, I have tried to use it from other iso but its doesint work ... (0 Replies)
Discussion started by: edgkkk
0 Replies

3. Shell Programming and Scripting

Problem running awk script in Debian 6.0.2

Hello to all, May be some expert could help me. I have the below awk script that works correctly in Cygwin: awk -F\" 'FNR==NR && FNR>1 {gsub(",","",$5); N=$5;next} $10 in N && FNR>1 { Y=$8 Z=(N==$8)?"Yes:"No"; } END{ for(k in N) {print k,Y,N,Z?Z:"Not_Found"} }' file2 file1But when I... (11 Replies)
Discussion started by: Ophiuchus
11 Replies

4. Debian

format/reinstall debian from CD after wrong installation

Hi all, I installed the newest debian stable wrong. I entered the wrong gateway IP. So the installation prozess couldn't load a mirror image. Now i would like to reinstall Debian with the right gateway IP and a mirrord image... It wan't boot from the installation CD Can I enforce that?... (1 Reply)
Discussion started by: vivelafete
1 Replies

5. UNIX for Advanced & Expert Users

OpenGL installation on Debian Linux

Hi, I need your help in installing OpenGL in my Debian (ubuntu) Linux PC. Please elaborate the steps in a clear manner, so that I may follow the installation procedure without getting in to any problem. Also, please tell me what are the libraries should I link my program with, what are the... (0 Replies)
Discussion started by: royalibrahim
0 Replies

6. Ubuntu

Debian (ubuntu) file problem after ftp

Hi, I am using Debian (ubuntu). whenever I ftp file from Windows to Debian, the file is being shown as DOS while editing in vi. The control characters are not visible and I couldn't remove the '^M' character. So please help me how to make it Linux specific file to use it for Linux specific tasks. (4 Replies)
Discussion started by: royalibrahim
4 Replies

7. Debian

Problem installing debian 4.0 on hp dl380 G5

ello all.. I really have a big problem installing debian 4.0 on HP dl380 G5 ,2 74 sScsi in raid 1 (mirror), after all selected options, it's freezes on getting files 125 of 125 and stops on 5% of the installation. I've try with different cd's and cd-roms so that's not the problem! Can someone... (4 Replies)
Discussion started by: res5it
4 Replies

8. Debian

debian network installation

we have separate repo for the ftp installation. I copied vmlinuz and initrd from the repo(stable disti) and booted my lapton from it(after modyfing the grub). Now the problem is setup is looking for .iso file (?). Why do i need iso file ? without iso we can start the shell . So can we make use of... (0 Replies)
Discussion started by: yogesh_powar
0 Replies

9. UNIX for Advanced & Expert Users

Debian aptitude - apt-get problem

I've got a strange one. As root, in aptitude, I'll do an update successfully. Then I do an upgrade, the files download, the progress bar will not show total progress, just progress per file, then reset to 0% for the next file. When the files complete downloading, I hit a carrige return to go to... (1 Reply)
Discussion started by: mikek147
1 Replies
Login or Register to Ask a Question