Friday 22 April 2005 2:29:10 pm
The 'phpMyAdmin' works but I can't get the others to work.
This is the <Virtualhost> section of the httpd file: NameVirtualHost *:80
<VirtualHost *:80>
<Directory "/home/webadmin/mahaiconysportsclub.com/html">
Options FollowSymLinks
AllowOverride None </Directory>
<IfModule mod_php4.c>
# If you are using Apache 2, you have to use <IfModule sapi_apache2.c> # instead of <IfModule mod_php4.c>.
# some parts/addons might only run with safe mode off
php_admin_flag safe_mode Off
# security just in case
php_admin_value register_globals 0
# performance
php_value magic_quotes_gpc 0
# performance
php_value magic_quotes_runtime 0
#http://www.php.net/manual/en/ini.sect.language-options.php#ini.allow-call-time-pass-reference
php_value allow_call_time_pass_reference 0 </IfModule>
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
ScriptAlias "/cgi-bin/" "/home/webadmin/mahaiconysportsclub.com/cgi-bin/"
# "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have one, and where ScriptAlias points to.
ScriptAlias /cgi-bin/awstats /var/www/cgi-bin/awstats
Alias /awstats /var/www/html/awstats
ScriptAlias /mail /var/www/cgi-bin/openwebmail/openwebmail.pl
ScriptAlias /cgi-bin/openwebmail /var/www/cgi-bin/openwebmail
Alias /openwebmail /var/www/html/openwebmail
ScriptAlias /cgi-bin/FormMail.pl /var/www/cgi-bin/FormMail.pl Alias /phpMyAdmin /home/webadmin/mahaiconysportsclub.com/html/phpMyAdmin
# have fallback if mod_rewrite is not existent DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
# Use one of the rewrite rules below:
# eZ publish <= 3.3.x:
# RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf)$ /index.php
# eZ publish >= 3.4.x :
RewriteCond %{REQUEST_URI} !^/awstats.*
RewriteCond %{REQUEST_URI} !^/openwebmail.*
RewriteCond %{REQUEST_URI} !^/FormMail.pl.*
RewriteCond %{REQUEST_URI} !^/phpMyAdmin.*
RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf)$ /index.php </IfModule>
DocumentRoot "/home/webadmin/mahaiconysportsclub.com/html"
ServerName "www.mahaiconysportsclub.com"
ServerAlias "mahaiconysportsclub.com"
ServerAdmin "[email protected]" </VirtualHost>
These lines were already in the httpd file:
<i> ScriptAlias /cgi-bin/awstats /var/www/cgi-bin/awstats
Alias /awstats /var/www/html/awstats
ScriptAlias /mail /var/www/cgi-bin/openwebmail/openwebmail.pl
ScriptAlias /cgi-bin/openwebmail /var/www/cgi-bin/openwebmail
Alias /openwebmail /var/www/html/openwebmail ScriptAlias /cgi-bin/FormMail.pl /var/www/cgi-bin/FormMail.pl</i> What changes do I need to make?
|