* [Sysadmins] Apache + Perl
@ 2008-01-14 20:25 lnkvisitor.ts
2008-01-15 9:15 ` Alexey Morsov
2008-01-18 15:43 ` Michael Bochkaryov
0 siblings, 2 replies; 8+ messages in thread
From: lnkvisitor.ts @ 2008-01-14 20:25 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]
Не могу подружить апач с перлом. все модули стоят. а всеравно показывает
исходы в браузер.
# cat vhost.conf
<VirtualHost *:80>
ServerAdmin webmasterr@localhost
ServerName bugzilla:80
DocumentRoot "/usr/httpd/bugzilla/www"
<Directory />
#Options +ExecCGI FollowSymLinks
#AllowOverride All
#DirectoryIndex index.cgi
#Order allow,deny
#Allow from all
Include conf/extra-available/Directory_root_default.conf
</Directory>
<Directory "/usr/httpd/bugzilla/www">
Options +ExecCGI FollowSymLinks
AllowOverride All
DirectoryIndex index.cgi
Order allow,deny
Allow from all
# Include conf/extra-available/Directory_html_default.conf
</Directory>
ErrorLog /usr/httpd/bugzilla/error_log
LogLevel warn
<IfModule log_config_module>
CustomLog /usr/httpd/bugzilla/access_log common
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/usr/httpd/bugzilla/www/"
</IfModule>
<Directory "/usr/httpd/bugzilla/www">
Include conf/extra-available/Directory_cgibin_default.conf
</Directory>
</VirtualHost>
[-- Attachment #2: lnkvisitor.ts.vcf --]
[-- Type: text/x-vcard, Size: 311 bytes --]
begin:vcard
fn;quoted-printable:=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 =D0=9A=D1=83=D0=BB=D0=B8=D0=BA=
n;quoted-printable;quoted-printable:=D0=9A=D1=83=D0=BB=D0=B8=D0=BA;=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9
email;internet:lnkvisitor.ts@gmail.com
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] Apache + Perl
2008-01-14 20:25 [Sysadmins] Apache + Perl lnkvisitor.ts
@ 2008-01-15 9:15 ` Alexey Morsov
2008-01-15 10:50 ` lnkvisitor.ts
2008-01-18 15:43 ` Michael Bochkaryov
1 sibling, 1 reply; 8+ messages in thread
From: Alexey Morsov @ 2008-01-15 9:15 UTC (permalink / raw)
To: sysadmins
[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]
On Mon, Jan 14, 2008 at 10:25:33PM +0200, lnkvisitor.ts@gmail.com wrote:
> Не могу подружить апач с перлом. все модули стоят. а всеравно показывает
> исходы в браузер.
>
> # cat vhost.conf
> <VirtualHost *:80>
> ServerAdmin webmasterr@localhost
> ServerName bugzilla:80
> DocumentRoot "/usr/httpd/bugzilla/www"
> <Directory />
> #Options +ExecCGI FollowSymLinks
> #AllowOverride All
> #DirectoryIndex index.cgi
> #Order allow,deny
> #Allow from all
> Include conf/extra-available/Directory_root_default.conf
> </Directory>
> <Directory "/usr/httpd/bugzilla/www">
SetHandler cgi-script
--
С уважением,
Алексей Морсов
программист ЗАО "ИК "Риком-Траст"
Jabber: samurai@www.fondmarket.ru
ICQ: 196766290
www.ricom.ru
www.fondmarket.ru
ALT Linux Team Member
email: swi@altlinux.ru
web: www.altlinux.ru, www.sisyphus.ru
NP: Therion - Abraxas
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] Apache + Perl
2008-01-15 9:15 ` Alexey Morsov
@ 2008-01-15 10:50 ` lnkvisitor.ts
2008-01-15 11:36 ` Alexey Morsov
0 siblings, 1 reply; 8+ messages in thread
From: lnkvisitor.ts @ 2008-01-15 10:50 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 2075 bytes --]
Alexey Morsov пишет:
> On Mon, Jan 14, 2008 at 10:25:33PM +0200, lnkvisitor.ts@gmail.com wrote:
>> Не могу подружить апач с перлом. все модули стоят. а всеравно показывает
>> исходы в браузер.
>>
>> # cat vhost.conf
>> <VirtualHost *:80>
>> ServerAdmin webmasterr@localhost
>> ServerName bugzilla:80
>> DocumentRoot "/usr/httpd/bugzilla/www"
>> <Directory />
>> #Options +ExecCGI FollowSymLinks
>> #AllowOverride All
>> #DirectoryIndex index.cgi
>> #Order allow,deny
>> #Allow from all
>> Include conf/extra-available/Directory_root_default.conf
>> </Directory>
>> <Directory "/usr/httpd/bugzilla/www">
> SetHandler cgi-script
Добавил
кроме Object not found! ничего не добился.
Apache/2.2.6 (Unix) PHP5/5.2.2 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8
остальные конфиги стандартные...
$ cat vhosts.conf
----------------------------------------------------------------------------------
AddHandler cgi-script .cgi
Include /usr/httpd/localhost/*.conf
Include /usr/httpd/phpmyadmin/*.conf
Include /usr/httpd/bugzilla/*.conf
$ cat bugzilla/vhost.conf
----------------------------------------------------------------------------------
<VirtualHost *:80>
ServerAdmin webmasterr@localhost
ServerName bugzilla:80
DocumentRoot "/usr/httpd/bugzilla/www"
<Directory />
Include conf/extra-available/Directory_root_default.conf
</Directory>
<Directory "/usr/httpd/bugzilla/www">
SetHandler cgi-script
Options +ExecCGI FollowSymLinks
AllowOverride All
DirectoryIndex index.cgi
Order allow,deny
</Directory>
ErrorLog /usr/httpd/bugzilla/error_log
LogLevel warn
<IfModule log_config_module>
CustomLog /usr/httpd/bugzilla/access_log common
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/usr/httpd/bugzilla/www/"
</IfModule>
<Directory "/usr/httpd/bugzilla/www">
Include conf/extra-available/Directory_cgibin_default.conf
</Directory>
</VirtualHost>
[-- Attachment #2: lnkvisitor.ts.vcf --]
[-- Type: text/x-vcard, Size: 302 bytes --]
begin:vcard
fn;quoted-printable:=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 =D0=9A=D1=83=D0=BB=D0=B8=D0=BA=
n;quoted-printable;quoted-printable:=D0=9A=D1=83=D0=BB=D0=B8=D0=BA;=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9
email;internet:lnkvisitor.ts@gmail.com
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] Apache + Perl
2008-01-15 10:50 ` lnkvisitor.ts
@ 2008-01-15 11:36 ` Alexey Morsov
2008-01-15 13:09 ` lnkvisitor.ts
0 siblings, 1 reply; 8+ messages in thread
From: Alexey Morsov @ 2008-01-15 11:36 UTC (permalink / raw)
To: sysadmins
[-- Attachment #1: Type: text/plain, Size: 915 bytes --]
On Tue, Jan 15, 2008 at 12:50:28PM +0200, lnkvisitor.ts@gmail.com wrote:
> Добавил
> кроме Object not found! ничего не добился.
> Apache/2.2.6 (Unix) PHP5/5.2.2 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8
>
> остальные конфиги стандартные...
>
ScriptAlias ?
аля
ScriptAlias /moinmoin "/var/www/moinmoin/cgi-bin/moin.cgi"
<Directory "/var/www/moinmoin/cgi-bin/">
AddHandler cgi-script .cgi
Options Indexes FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
--
С уважением,
Алексей Морсов
программист ЗАО "ИК "Риком-Траст"
Jabber: samurai@www.fondmarket.ru
ICQ: 196766290
www.ricom.ru
www.fondmarket.ru
ALT Linux Team Member
email: swi@altlinux.ru
web: www.altlinux.ru, www.sisyphus.ru
NP: Skyclad - Do They Mean Us?
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] Apache + Perl
2008-01-15 11:36 ` Alexey Morsov
@ 2008-01-15 13:09 ` lnkvisitor.ts
2008-01-16 16:16 ` Andrey Rybak
0 siblings, 1 reply; 8+ messages in thread
From: lnkvisitor.ts @ 2008-01-15 13:09 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]
Alexey Morsov пишет:
> On Tue, Jan 15, 2008 at 12:50:28PM +0200, lnkvisitor.ts@gmail.com wrote:
>> Добавил
>> кроме Object not found! ничего не добился.
>> Apache/2.2.6 (Unix) PHP5/5.2.2 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8
>>
>> остальные конфиги стандартные...
>>
> ScriptAlias ?
> аля
>
> ScriptAlias /moinmoin "/var/www/moinmoin/cgi-bin/moin.cgi"
>
> <Directory "/var/www/moinmoin/cgi-bin/">
> AddHandler cgi-script .cgi
> Options Indexes FollowSymLinks ExecCGI
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
>
>
>
> ----------------------------------------------------------------------
/ не открывает. указываю точный путь к индексу. всеравно исходный код.
[-- Attachment #2: lnkvisitor.ts.vcf --]
[-- Type: text/x-vcard, Size: 302 bytes --]
begin:vcard
fn;quoted-printable:=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 =D0=9A=D1=83=D0=BB=D0=B8=D0=BA=
n;quoted-printable;quoted-printable:=D0=9A=D1=83=D0=BB=D0=B8=D0=BA;=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9
email;internet:lnkvisitor.ts@gmail.com
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] Apache + Perl
2008-01-15 13:09 ` lnkvisitor.ts
@ 2008-01-16 16:16 ` Andrey Rybak
0 siblings, 0 replies; 8+ messages in thread
From: Andrey Rybak @ 2008-01-16 16:16 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
lnkvisitor.ts@gmail.com wrote:
> Alexey Morsov пишет:
>
>> On Tue, Jan 15, 2008 at 12:50:28PM +0200, lnkvisitor.ts@gmail.com wrote:
>>
>>> Добавил
>>> кроме Object not found! ничего не добился.
>>> Apache/2.2.6 (Unix) PHP5/5.2.2 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8
>>>
>>> остальные конфиги стандартные...
>>>
>>>
>> ScriptAlias ?
>> аля
>>
>> ScriptAlias /moinmoin "/var/www/moinmoin/cgi-bin/moin.cgi"
>>
>> <Directory "/var/www/moinmoin/cgi-bin/">
>> AddHandler cgi-script .cgi
>> Options Indexes FollowSymLinks ExecCGI
>> AllowOverride None
>> Order allow,deny
>> Allow from all
>> </Directory>
>>
>>
>>
>>
>> ----------------------------------------------------------------------
>>
> / не открывает. указываю точный путь к индексу. всеравно исходный код.
>
А права на /var/www/moinmoin/cgi-bin какие?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] Apache + Perl
2008-01-14 20:25 [Sysadmins] Apache + Perl lnkvisitor.ts
2008-01-15 9:15 ` Alexey Morsov
@ 2008-01-18 15:43 ` Michael Bochkaryov
2008-01-18 16:57 ` lnkvisitor.ts
1 sibling, 1 reply; 8+ messages in thread
From: Michael Bochkaryov @ 2008-01-18 15:43 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
lnkvisitor.ts@gmail.com пишет:
> Не могу подружить апач с перлом. все модули стоят. а всеравно показывает
> исходы в браузер.
А модуль cgi подключен?
Судя по конфигу, надо такое запустить:
# a2enmod cgi
# service httpd2 condreload
--
Michael Bochkaryov
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] Apache + Perl
2008-01-18 15:43 ` Michael Bochkaryov
@ 2008-01-18 16:57 ` lnkvisitor.ts
0 siblings, 0 replies; 8+ messages in thread
From: lnkvisitor.ts @ 2008-01-18 16:57 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 309 bytes --]
Michael Bochkaryov пишет:
> lnkvisitor.ts@gmail.com пишет:
>> Не могу подружить апач с перлом. все модули стоят. а всеравно показывает
>> исходы в браузер.
>
> А модуль cgi подключен?
>
> Судя по конфигу, надо такое запустить:
> # a2enmod cgi
> # service httpd2 condreload
>
>
спасибо все начало работать
[-- Attachment #2: lnkvisitor.ts.vcf --]
[-- Type: text/x-vcard, Size: 302 bytes --]
begin:vcard
fn;quoted-printable:=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 =D0=9A=D1=83=D0=BB=D0=B8=D0=BA=
n;quoted-printable;quoted-printable:=D0=9A=D1=83=D0=BB=D0=B8=D0=BA;=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9
email;internet:lnkvisitor.ts@gmail.com
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-01-18 16:57 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-14 20:25 [Sysadmins] Apache + Perl lnkvisitor.ts
2008-01-15 9:15 ` Alexey Morsov
2008-01-15 10:50 ` lnkvisitor.ts
2008-01-15 11:36 ` Alexey Morsov
2008-01-15 13:09 ` lnkvisitor.ts
2008-01-16 16:16 ` Andrey Rybak
2008-01-18 15:43 ` Michael Bochkaryov
2008-01-18 16:57 ` lnkvisitor.ts
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git