perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shipitsyn <s...@omskreg.ru>
Subject perl modules visibility problem
Date Fri, 28 Jun 2002 08:03:11 GMT
Friends, whether and at you arose the following problem:

By the same machine we have 2 different virtual sites; their files are
located in different catalogues.

In http.conf full freedom for .htaccess is given.

Configuration Apache::ASP occurs through .htaccess #1 for a site #1
and .htaccess #2 for a site #2.

---------------------------------------------------------------------
And so, scripts, executed on a site #2, for some reason see modules
.pm which are used only on a site #1.
---------------------------------------------------------------------

.htaccess #1 location: /home/site1/site/docs/.htaccess
.htaccess #1 content: PerlSetVar Global/home/site1/site/lib/pm

.htaccess #2 location: /home/site2/site/docs/.htaccess
.htaccess #2 content: PerlSetVar Global/home/site2/site/lib/pm


httpd.conf:

PerlWarn On

<VirtualHost *>
 ServerName linux.domain.xx
 DocumentRoot /usr/local/apache/htdocs
</VirtualHost>

<VirtualHost *>
 ServerName site1.domain.xx
 DocumentRoot /home/site1/site/docs
 ErrorLog /usr/local/apache/logs/site1_error_log
</VirtualHost>

<Directory /home/site1/site/docs>
 Options All
 AllowOverride All
</Directory>

<VirtualHost *>
 ServerName site2.domain.xx
 DocumentRoot /home/site2/site/docs
 ErrorLog /usr/local/apache/logs/site2_error_log
</VirtualHost>

<Directory /home/site2/site/docs>
 Options All
 AllowOverride All
</Directory>


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message