mirroring php - problems/questions
| From: | jason andrade | Date: | Wed, 28 Jun 2000 01:19:01 +0000 |
| Subject: | mirroring php - problems/questions | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-1066@lists.php.net to get a copy of this message | ||
Hi,
I've been trying to organize a mirror of the php web and ftp
sites for a long time now.
I used to think of myself as a competent web server installer
but so far php has defeated all attempts i've made to get
it working - in particular for the mirror i'd like to run.
I realise your web site says you're not accepting new mirrors.. but
i've been asked by a _number_ of users for a php mirror site.. we're
the largest public archive in australia and people are now used to
going to one site and finding _everything_ there..
I've also tried to access the current AU mirror you have designated
which returns:
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://au.php.net:81/
The following error was encountered:
Access Denied.
Access control configuration prevents your request from being allowed at this time. Please
contact your
service provider if you feel this is incorrect.
Your cache administrator is webmaster.
Can i please get some assistance in getting php to work as a mirror
here ?
I currently have:
Server Version: Apache/1.3.9 (Unix) PHP/3.0.12 Server Built: Nov 26 1999 21:31:55
I have still got a legacy web server config of httpd.conf/access.conf/srm.conf which
has:
httpd.conf:
#
<VirtualHost 192.111.32.27>
ServerName php.mirror.aarnet.edu.au
ServerAdmin mirror@mirror.aarnet.edu.au
DocumentRoot /archive/www/php
ResourceConfig /usr/local/apache/conf/php-srm.conf
ErrorLog /archive/log/php-errors.log
TransferLog /archive/log/php-access.log
php3_include_path .:./include:../include
</VirtualHost>
#
access.conf:
#
<Directory /archive/www/php>
Options Indexes FollowSymLinks Includes
AllowOverride Authconfig
</Directory>
#
srm.conf:
(just the lines i think are relevant)
DirectoryIndex index.shtml index.html index.htm .index.html index.php index.php3 index.phtml
FancyIndexing on
#
#
AddType application/x-httpd-php3 .phtml .php3 .php
AddType application/x-httpd-php3-source .phps .php3s
AddType text/html .shtml
#
AddHandler server-parsed .shtml
#
RewriteEngine On
RewriteRule ^/index.php /archive/www/php/index.php
#
the errors i see with above are:
[Wed Jun 28 11:13:00 2000] [alert] [client 130.102.176.42] /archive/www/php/.htaccess:
php3_include_path not allowed here
if i remove the htaccess file, it blows up with missing a required reference
to include paths.
what am i missing ? :-)
regards,
-jason