{"id":670,"date":"2011-12-19T05:13:25","date_gmt":"2011-12-18T22:13:25","guid":{"rendered":"http:\/\/oktobrima.staff.fe.uns.ac.id\/?p=670"},"modified":"2011-12-19T05:13:25","modified_gmt":"2011-12-18T22:13:25","slug":"freebsd-virtualmin-suexec-issue","status":"publish","type":"post","link":"https:\/\/angga.feb.uns.ac.id\/?p=670","title":{"rendered":"FreeBSD Virtualmin suexec issue"},"content":{"rendered":"<p><span><span><strong>FreeBSD virtualmin install with suexec issue @ problem<\/strong><\/span><\/span><\/p>\n<p>I&#8217;m installing\u00a0<strong>FreeBSD 8.1-release<\/strong> with:<\/p>\n<p><strong>apache-2.2.17_1<\/strong><\/p>\n<p><strong>webmin-1.520<\/strong><\/p>\n<p><strong>virtualmin-3.80<\/strong><\/p>\n<p>u&#8217;ll face some stupid errors like:<\/p>\n<p dir=\"ltr\"><strong><em>The Suexec command on your system is configured to only run scripts under <\/em><em>\/usr\/local\/www\/data, but the Virtualmin base directory is \/usr\/home. CGI and PHP <\/em><em>scripts run as domain owners will not be executed.<\/em> <em>.. your system is not ready for use by Virtualmin.<\/em><\/strong><\/p>\n<p dir=\"ltr\">\n<p dir=\"ltr\">Solutions:<\/p>\n<p dir=\"ltr\">during installation apache 2.2 via ports, one file will be make as make options, edit it:<\/p>\n<p dir=\"ltr\"><strong>ee \/var\/db\/ports\/apache22\/options<\/strong><\/p>\n<p dir=\"ltr\">\n<p dir=\"ltr\">make sure the files have suexec options compiled in:\u00a0<em><strong> <\/strong><\/em><\/p>\n<p dir=\"ltr\"><em><strong>WITH_SUEXEC=true<\/strong><\/em><\/p>\n<p dir=\"ltr\">\n<p dir=\"ltr\">anyway suexec by default will point to default webroot path only, change it to ( your virtualmin path ) and u need to add it manually:<\/p>\n<p dir=\"ltr\"><strong><em>SUEXEC_DOCROOT=\/usr\/home<\/em><\/strong><\/p>\n<p dir=\"ltr\">\n<p dir=\"ltr\">save and recompile+compile+install your apache again<strong><br \/>\n<\/strong><\/p>\n<p dir=\"ltr\"><strong><em>cd \/usr\/ports\/www\/apache22<\/em><\/strong><\/p>\n<p dir=\"ltr\"><strong><em>make install clean<\/em><\/strong><\/p>\n<p dir=\"ltr\">\n<p dir=\"ltr\">\n<p dir=\"ltr\">edit your httpd.conf to include suexec module..<\/p>\n<p dir=\"ltr\"><strong>LoadModule suexec_module\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 libexec\/apache22\/mod_suexec.so<\/strong><\/p>\n<p dir=\"ltr\">\n<p dir=\"ltr\">save and restart your apache..<\/p>\n<p dir=\"ltr\">\n<p dir=\"ltr\"><strong>DONE!!!<\/strong><\/p>\n<p dir=\"ltr\"><strong>Referensi <\/strong><a href=\"http:\/\/trunasuci.pbworks.com\/w\/page\/32558556\/FreeBSD%20Virtualmin%20suexec%20issue\">http:\/\/trunasuci.pbworks.com\/w\/page\/32558556\/FreeBSD%20Virtualmin%20suexec%20issue<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FreeBSD virtualmin install with suexec issue @ problem I&#8217;m installing\u00a0FreeBSD 8.1-release with: apache-2.2.17_1 webmin-1.520 virtualmin-3.80 u&#8217;ll face some stupid errors like: The Suexec command on your system is configured to only run scripts under \/usr\/local\/www\/data, but the Virtualmin base directory is \/usr\/home. CGI and PHP scripts run as domain owners will not be executed. .. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-670","post","type-post","status-publish","format-standard","hentry","category-freebsd"],"_links":{"self":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/posts\/670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=670"}],"version-history":[{"count":0,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/posts\/670\/revisions"}],"wp:attachment":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}