Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 22:43:46

Author Topic: CGI files 404 not found in cgi-bin folder  (Read 8433 times)

0 Members and 1 Guest are viewing this topic.

Offline mvillanueva

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: CGI files 404 not found in cgi-bin folder
« Reply #15 on: 2015-02-27, 11:13:06 »
Find that domains.tpl was, infact, domains.conf.tpl. Anyway, there were some issues to be discussed (if MR wants, of course).

Found that

Code: [Select]
### MR -- disable perl until fix hardlinks issue
#ScriptAlias /cgi-bin/ "/home/<?php echo $user?>/<?php echo $domainname?>/cgi-bin/"

invokes cgi-bin using a /home/$user/domain.tdl/cgi-bin (and also, for subdomains, is my guess).

Some users (including me), uses a set of directories in their structure more obscure, to gain darkness over malicious users (i.e. mydomain.com often uses a ~myuser/alaksf/ for its domain root).

For this case used:

Code: [Select]
ln -s alakfs mydomain.com
and got no 404, but 500 error.

Any ideas?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: CGI files 404 not found in cgi-bin folder
« Reply #16 on: 2015-02-27, 11:42:06 »
For security reason, Kloxo-MR no permit for symlink for website. You will see 'Options -Indexes -FollowSymlinks +SymLinksIfOwnerMatch' for this purpose for apache.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.04 seconds with 19 queries.

web stats analysis