ok I'm running Apache on my Kubuntu OS.
I've created to identical folders:
Code:
/var/www/plans
/var/www/plan
the permisions are the same
Code:
drwxrwxrwx 2 root root 4096 2006-09-29 13:53 plan
drwxrwxrwx 2 root root 4096 2006-09-29 13:51 plans
The httpd.conf for the to folders are the same:
Code:
<Directory "/var/www/plan/">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
AddHandler cgi-script .cgi .sh .pl
Options Indexes Includes FollowSymLinks MultiViews ExecCGI
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
<Directory "/var/www/plans/">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
AddHandler cgi-script .cgi .sh .pl
Options Indexes Includes FollowSymLinks MultiViews ExecCGI
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
When I run the main.cgi script (which is a photo album script) They both run and make likes for all the JPEG's in the folder. But, the 'plan' folder all of the links are bad. But the 'plans' folder there all fine.
All the permisions in both folders are the same for all the files and all the files are the same. I just copied them.
What am I over looking?
I can post the code if need but I don't think it's that because I've had it working in other folders before. It just seems that some times can get it to work and some times can't even though I'm doing the same thing.