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.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. Debian
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
3. Debian
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
4. Ubuntu
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
5. UNIX for Advanced & Expert Users
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. Debian
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
7. Shell Programming and Scripting
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
8. Debian
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
9. Debian
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
LEARN ABOUT DEBIAN
dpkg-www
DPKG-WWW(1) General Commands Manual DPKG-WWW(1)
NAME
dpkg-www - program to remotely open a WWW Debian package browser
SYNOPSIS
dpkg-www [-s|--stdout] [-h|--host host] [query]
DESCRIPTION
dpkg-www is used to remotely control a WEB browser and open a dpkg URL on the local host from an interactive shell or script.
If the command is invoked while running under X-window the script will try to find an installed X browser to open the specified URL. If
not running under X it will try to use a text browser instead.
If Netscape is found and a Netscape instance is already running it will be asked to open the dpkg URL on localhost with the optional query
supplied on the command line. If there is no browser running, it will start automatically a new one.
The functionality provided by this program is identical to running a web browser with the -remote openURL(http://localhost/cgi-bin/dpkg)
argument or opening the same URL from within the browser.
dpkg-www-installer is an helper application which can configured in the WWW browser for web installation. It should never be invoked
directly by the user.
OPTIONS
-s, --stdout
Redirect output to stdout. Requires one of the text browsers (lynx, lynx-ssl or links) installed.
-h, --host host
Send the query to a remote host, where dpkg-www must be installed.
query Specifies an optional package name, an absolute pathname or a query argument which is passed to the dpkg cgi-bin. See dpkg-www(8)
for more information about the use of the cgi.
FILES
/etc/dpkg-www.conf
~/.dpkg-www
Configuration files for dpkg-www. It is not necessary for these files to exist, there are sensible defaults for everything, but you
can specify your preferred www browser with the DPKG_WWW_BROWSER variable, for example: DPKG_WWW_BROWSER=mozilla
EXAMPLES
dpkg-www
This would open a dpkg URL on localhost listing all the installed packages.
dpkg-www bash
This would open a dpkg URL asking info on the bash package.
dpkg-www -h pisolo bash
This would open a dpkg URL asking info on the bash package on host pisolo.
dpkg-www 'dpkg*'
This would open a dpkg URL listing all packages matching dpkg*.
dpkg-www /bin/bash
This would open a dpkg URL asking info on the package(s) owning the file /bin/bash .
dpkg-www depends=svgalib
This would open a dpkg URL listing all packages depending on svgalib.
dpkg-www --stdout depends=awk | grep ^ii
This would list on stdout all packages depending on awk and grep all lines of installed packages.
SEE ALSO
dpkg(8), dpkg-www(8)
AUTHOR
Massimo Dal Zotto <dz@debian.org>.
Bugs should be reported via the normal Debian bug reporting system.
LICENCE
dpkg-www is licensed under the GNU General Public License version 2.
September 1, 2004 DPKG-WWW(1)