You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kevin Gordon <ke...@gmail.com> on 2005/12/23 18:54:43 UTC
[users@httpd] ModAlias Problems
Hello!
Happy holidays to everyone!
I am new to configuring apache. Previously I have always just used
pre-installed apache configurations, or modified only virtual host entries.
Recently I decided to play with Aliases
When I use Alias /something/ /path/to/actual/something/ the alias works, I
can see everything in the directory(But obviously cannot execute scipts)
When I use ScriptAlias /something/ /path/to/actual/something/ I get a 500
error on all my scripts.
in my apache config file I have
<IfModule mod_alias.c>
ScriptAlias /cms/ "/home/cms/"
<Directory "/home/cms/">
AllowOverride None
Options Indexes FollowSymLinks MultiViews ExecCGI
Order allow,deny
Allow from all
</Directory>
</IfModule>
The permissions on the ~/cms/ directory is
Permissions User Group Size Date Time Directory
drwxrwxrwx 2 nobody nogroup 4096 2005-12-23 10:50 cms
The Permissions of the content of the ~/cms/ directory is
Permissions User Group Size Date Time Script
-rwxr-xr-x 1 nobody nogroup 69 2005-12-09 14:49 index1.cgi
How come my script is not accessable and only returns 500 errors?
The example is running at
http://blackbox.fidelitysoft.net/cms/
Can anyone provide me with any info on how to resolve this?
Thanks
Kevin
Re: [users@httpd] ModAlias Problems
Posted by Joshua Slive <jo...@slive.ca>.
On 12/23/05, Kevin Gordon <ke...@gmail.com> wrote:
> How come my script is not accessable and only returns 500 errors?
There is a debugging guide here:
http://httpd.apache.org/docs/2.2/howto/cgi.html#troubleshoot
If you still can't get it after going through there, make sure to at
least tell us what the error log says.
Joshua.