[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache aliasing



On Mon, 9 Aug 2004 10:23:20 -0400
Harland Christofferson <debian-user@zerocrossings.com> wrote:

> i have an apache server w/ serveral aliases. however, i am trying 
> to add a new alias that is confusing me:
> 
> Alias /oscommerce/ /var/www/oscommerce/
> <Directory /var/www/oscommerce/>
>   Options ExecCGI Includes FollowSymlinks
>   AddHandler cgi-script .php .cgi .sh .pl
> </Directory>
> 
> 
> <VirtualHost *:3011>
>     DocumentRoot /var/www/oscommerce/catalog
> </VirtualHost>
> 
> 
> when i try to access http://server:3011/index.php i think i should 
> get the index.php in /var/www/oscommerce but i just get a 500 error.
> if i just try http://server:3011/ i cannot read the contents of 
> the directory.

What is the full text of the 500 error? Does /var/log/apache/error_log
say anything about the error?

For the directory listing, check your "DirectoryIndex" setting in your
Apache config file; does it include index.php?

HTH,
Jacob

-- 
GnuPG Key: 1024D/16377135

Random .signature #16:
Why use Windows, when there's a door?
http://www.linux.org

Attachment: pgp2Ei1FfM8zr.pgp
Description: PGP signature


Reply to: