Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just install apache on my server.
I also installed suexec.
But when i run command suexec -v output of this command is:
suexec policy violation: see suexec log for more details
and output of suexec error log is:
[2011-12-19 08:42:59]: too few arguments.
What is the problem can anyt one help me?
I install apache with following command:
yum install httpd-devel.
You need to recompile apache using "--with-suexec-docroot=/my/path", because it's hardcoded into the suexec bianry.
You can use google to search how it's done for your distro
No you can't.
While you can change the apache docroot from httpd.conf, it's not possible to do the same with suexec as it's hardcoded into it.
But you can use the homedir as an alternative if you want
Do you know apache configuration to support perl script(with suexec user group).
I tried but always gives the error that cmd is not in doc root.
You can use the ~/public_html/cgi-bin directory if you want.
Or you should create a new cgi-bin (or whatever you want to call it) directory under the apache docroot, configure apache to execute scripts from that directory, use 755 attributes (or else suexec will complain) and test.
Yes I am trying using ~/public_html/cgi-bin to install movable type script
But when I access the mt.cgi page it shows entire code of mt.cgi instead of it is acctuall output.
I have given the permission 0755 to that folder.
In that I run php file it work fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.