ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Прокопьев Евгений" <john@rmts.donpac.ru>
To: community@altlinux.ru
Subject: [Comm] httpd-perl error
Date: Sun, 20 Apr 2003 21:15:55 +0400
Message-ID: <3EA2D5CB.5010102@rmts.donpac.ru> (raw)

Здравствуйте!

В /etc/httpd/conf/httpd-perl.conf присутствуют следующие строчки:

DocumentRoot /var/www/perl
Port 8200

Исполняется сервис с правами apache.apache

Но при попытке подключиться я получаю следующее:

$ telnet localhost 8200
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
get index.pl
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not understand.<P>
Invalid URI in request get index.pl<P>
</BODY></HTML>
Connection closed by foreign host.

С правами все нормально:

# ls -l /var/www
total 7
drwxrws--x    2 root     webmaster       96 Апр 17 01:41 cgi-bin
drwxrwsr-x    3 root     webmaster     1184 Апр 17 01:42 html
drwxrws--x    3 root     webmaster     4528 Апр 17 01:41 icons
drwxrws--t    2 apache   apache         72 Апр 20 14:29 perl
[root@ugtovar conf]# ls -l /var/www/perl/
total 4
-rwxrwxr-x    1 apache   apache         35 Апр 20 14:30 index.pl
[root@ugtovar conf]# su - apache -s /bin/bash
-bash-2.05b$ /var/www/perl/index.pl
hello
-bash-2.05b$ cat /var/www/perl/index.pl
#!/usr/bin/perl
print "hello\n";

Где я ошибся?
-- 
С уважением, Прокопьев Евгений



             reply	other threads:[~2003-04-20 17:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-20 17:15 Прокопьев Евгений [this message]
2003-04-20 14:35 ` Dmitry Alexeyev
2003-04-20 14:41 ` Denis S. Filimonov
2003-04-20 14:41 ` Pavel Tsybulin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EA2D5CB.5010102@rmts.donpac.ru \
    --to=john@rmts.donpac.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git