apache and phpwebsite
i am trying to virtual host using apache. i have several hosts already
but, for some reason, I haven't been able to get phpwebsite to work
out.
in /etc/httpd.conf i have:
Listen 8080
.
.
.
#
# Alias for phpwebsite added 10/12/04 by hhc
#
Alias /setup/index.html /var/www/phpwebsite-0.9.3-4-full/setup/index.php
<Directory /var/www/phpwebsite-0.9.3-4-full/setup/index.php>
Options ExecCGI Includes FollowSymlinks
AddHandler cgi-script .php .cgi .sh .pl
</Directory>
Alias /phpwebsite-0.9.3-4-full/index.html /var/www/phpwebsite-0.9.
3-4-full/index.php
<Directory /var/www/phpwebsite-0.9.3-4-full/index.php>
Options ExecCGI Includes FollowSymlinks
AddHandler cgi-script .php .cgi .sh .pl
</Directory>
.
.
.
<VirtualHost *:8080>
DocumentRoot /var/www/phpwebsite-0.9.3-4-full
</VirtualHost>
i would think that the url: http://www.mydomain.com:8080/ would present
the aliased path /var/www/phpwebsite-0.9.3-4-full/index.php
but a server error:
Warning: main(PEAR.php): failed to open stream: No such file or directory
in /var/www/phpwebsite-0.9.3-4-full/core/Core.php on line 33
Fatal error: main(): Failed opening required 'PEAR.php' (include_path='.
:/lib/pear/') in /var/www/phpwebsite-0.9.3-4-full/core/Core.php on
line 33
the core/Core.php file appears w/ r-x permissions in the path.
Reply to: