How do I configure Apache to allow CGI content to run from a user's public_html directory?
WebMO Frequently Asked QuestionsIf you you follow the above recommendations, it is necessary to configure Apache to allow CGI content to run from a user's public_html directory. Instructions for how to configure Apache can be found on our support forum.
Related QuestionsHow do I allow each of my user directories to have a cgi-bin directory?
Apache Server Frequently Asked QuestionsRemember that CGI execution does not need to be restricted only to cgi-bin directories. You can allow CGI script execution in arbitrary parts of your filesystem. There are many ways to give each user directory a cgi-bin directory such that anything requested as http://example.com/~user/cgi-bin/program will be executed as a CGI script. Two alternatives are: Place the cgi-bin directory next to the public_html directory: ScriptAliasMatch ^/~([^/]*)/cgi-bin/(.
Related QuestionsHow can I create a Webmin user who can only configure one Apache virtual server or DNS domain?
WebminIn the Webmin Servers module, create a new user and give him access to only the Apache Webserver module. After saving, click on Apache Webserver next to the user's name in the list of Webmin users and use the form that appears to deny him access to everything except one selected virtual server. Many other modules can also be configured in a similar way to restrict the access of a user to only certain DNS domains, Unix users or mail aliases.
Related QuestionsHow do I make a user public_html directory work under SELinux?
Fedora Project, sponsored by Red HatThis process presumes that you have enabled user public HTML directories in your Apache configuration file, /etc/httpd/conf/httpd.conf. This process only covers serving static Web content. For more information about Apache HTTP and SELinux, refer to http://fedora.redhat.com/docs/selinux-apache-fc3/. If you do not already have a ~/public_html directory, create it and populate it with the files and folders to be served.
Related QuestionsCan I run HTML::Mason via CGI?
AnnoCPAN - HTML::MasonYes. Masonite Ilmari Karonen uses HTML::Mason under CGI. He has kindly posted the necessary steps to do this on the HTML::Mason mailing list. His message can be viewed at http://forum.swarthmore.edu/epigone/mason/gimpswumfrex/Pine.SOL.3.96.990917144751.
Related QuestionsDo you allow CGI to run on your servers?
We do allow running of cgi scripts on the servers, however they must conform to our acceptable server resource usage policy. I
Related QuestionsUsing CGI ScriptsYes. Nameway? allows running of cgi scripts on the servers, however they must conform to our acceptable usage policy. If we deem that a script is using an excessive amount of server resources, it will be disabled.Related Questions
Can I run Webmin or Usermin under Apache?
WebminYes, this can be done with some configuration. See this document for details on running Webmin under Apache, or this page for details on running Usermin. You can also run Webmin under the Zeus webserver in a similar way. See this documentation for instructions.
Related QuestionsCan I run CGI scripts in my home directory?
umweb: homepagePersonal CGI scripts are currently not allowed on the www.umich.edu and www-personal.umich.edu hosts. There are several reasons for this. The first and foremost reason is security. The web servers are run with access to several directories and files that other programs don't (and shouldn't have) access to. Since we don't have the time to police all the CGI script code out there, there isn't a way to enable them securely on our servers.
Related QuestionsDo I need to modify my CGI programs running on other Apache platforms to run under i5/OS?
IBM System i - HTTP Server for i5/OS: Frequently asked quest...Yes. To port your CGI programs to i5/OS you'll need to recompile them and move your data libraries and directories. See Porting to i5/OS.
Related QuestionsHow do I configure Apache so that it serves static content like images instead of Tomcat?
jGuru: Tomcat FAQAuthor: Brian Ewins (http://www.jguru.com/guru/viewbio.jsp?EID=301660) Question originally posed by Guy Zürcher (http://www.jguru.com/guru/viewbio.jsp?EID=203476 This is described in the Tomcat User Guide at: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.html Look for the section called "Making Apache Serve your Context's Static Files" Comments and alternative answers
Related QuestionsWhat is the robots.txt file for in my public_html directory?
Web Tapestry - Home of UK Low Cost ADSL Broadband Internet, ...The robots.txt file gives hints to search engine spiders and the like which will visit your site frequently to keep their indexes updated. This is as part of the 'Robots Exclusion Standard', which you can read about at www.robotstxt.org.
Related QuestionsCan I run CGI scripts under my user id ?
rootr.net : faqYes. In fact this is the default settings on all Rootroute servers. Only you have control and access to cgi dynamic web pages. People browsing the web can access your domain both as www.example.com and just example.com. it will go to the same place. Also remember domain names are not case sensitive, "EXAMplE.Com" will also go to the same place. We register for you automatically domains in .com, .net, .org, .info We support also all other extensions, including codes domains such as .uk, .in, .
Related QuestionsWhy do I need to put mt HTML files in a different directory from my CGI scripts ?
Frequently Asked Questions (FAQ)This is due to the way the Webserver is configured. Basically all files in your CGI directory are assumed to be CGI scripts. Similarly all files in your Webspace are assumed to be HTML. The first thing to look at is your disk quota. You are allowed a certain amount of physical disk space to publish your work, but if you exceed this then you will encounter problems.
Related QuestionsCan Expect be run as a CGI script?
Expect FAQ (Frequently Asked Questions)Many Expect scripts can be run directly with one change - the following line should be inserted before any other output: puts "Content-type: text/html\n" Next, make sure you invoke external programs using full paths. For example, instead of "spawn telnet", use "spawn /usr/ucb/telnet" (or whatever). Remember that the PATH and other environment variables are going to be different than what you are used to.
Related QuestionsIs I-Land's User Directory open to the public?
I-Land -- I-Land User DirectoryThe I-Land User Directory is available only to I-Land subscribers who are dialed in to I-Land's network. While previous versions of the User Directory were accessible from anywhere on the Internet, we have made this change so that the User Directory will be less likely to be used by spammers as an address list.
Related QuestionsWhat is public_html and public_ftp, and why are they in my home directory?
RNetwork - Unlimited Free HostingWhen you first log into your account, you will see various hidden files and directories, among them, the two that are most important are the public_html and public_ftp directories.DO NOT DELETE OR RENAME any of these directories or any hidden files that you may find. These directories are automatically setup by the system and are required in order for your account to function.
Related QuestionsWhat kind of programs can I run in my CGI-bin directory?
Customer Support -- FAQEveryone can feel overwhelmed by unanswered questions when they're just starting out with something new. The Internet is a vast resource of information. To be an effective Internet user, you need only learn the basic techniques of mining that information. Think of the Internet as a great library on your desktop. What does FOURnet have to do with this? FOURnet provides you with a standard TCP/IP connection. TCP/IP is the protocol upon which the Internet was founded.
Related QuestionsDo I install allposters.pl in my cgi-bin directory and then run it in my web browser?
allposters.pl Script : Frequently Asked QuestionsNo. The allposters.pl script is not a script such as a "guestbook" script. The allposters.pl script is a "run once" type of script. You run allposters.pl and it creates HTML files -- it does not create dynamic output "on the fly". If you have telnet/SSH access into the command line prompt of your linux/unix server, then you can login and run allposters.pl directly on your server. If you do not have telnet/SSH access, then you can run the allposters.
Related QuestionsIs it possible to run a CGI program in my SSL directory?
netherweb communitiesYes, you can run CGI programs in your secure_html directory, just make sure they are chmod 755 and end in either .cgi or .pl.
Related QuestionsI want a user directory. Can I get one? How long will it take?
Meramec Web Page Frequently Asked QuestionsYes. Since we are using a different tool to assign permissions to user directories, it may take up to a week, although that process should be shortened significantly in the upcoming weeks. Please call me to schedule an informal training process on using FTP if you are not familiar with the process already.
Related QuestionsQ10. Im Installing a script, what is the path to my public_html directory?
Hostspot Uk Web Host the intelligent choice FAQThe absolute path is home/<your user name>/public_html where <your user name> is the user name given to you when you opened your account
Related QuestionsWhy can't my directory under public/html be seen anymore (it used to work)?
Tech Staff FAQsThe new server will not default to a directory listing if there's no index.html file. There are two solutions: (a) generate a quick index.html file, or (b) you can disable this feature on a per-directory basis by creating a file called .htaccess in the directory in which you wish to enable browsing. In this file, put a single line that says
Related QuestionsWhat content is public?
Incyanity · Frequently Asked QuestionsAll the pages listed under "Public" in the menu at right as well as the links across the top of the layout. All the best stuff is members only. : ) Of particular note (because some people seem to think otherwise, I don't know why), the updates page is also open to everyone. It contains all the updates that happened in the prior year as well as the current one. Sometimes I post there to discuss plans or ideas I have for the site. Feedback about any posted update is always appreciated.
Related QuestionsHow do I configure an Apache server?
The GPM installation FAQThe configuration of the Apache server is controlled by a text file called httpd.conf. On a Linux machine this is most likely found at /etc/httpd/conf/. On a Windows machine it is most likely found at C:/Program Files/Apache Group/Apache(2)/conf/. This file can be editted in any text editor. The easiest way to configure the Apache server to run GPM, is to change Apache's DocumentRoot directive to "C:/Program Files/Apache Group/Apache2/htdocs/thegpm" on Windows or "/var/www/thegpm/" on Linux.
Related QuestionsHow do I configure Apache log files ?
esoftys - eWebLog Analyzer FAQWe recommend you to use the Combined log format because the Common log format doesn't contain information about referrers and user agents (OS, browsers, spiders). By default Apache uses the Common log format but the majority of hosting providers set the Combined log format for Apache on their servers.
Related QuestionsI get a Server Error when I run my cgi script. How can I fix that?
CheaperWebHost.com - Frequently Asked Questions (FAQs)First, make sure that the permissions on the file are set properly for execute permission. By default, the permissions are 644 (rw-r--r--) and do not allow execution. You need to change the permissions, or the mode, on your cgi script to 755 (rwxr-xr-x). Some FTP programs allow you to change file permissions, if yours doesn't, then you can use the File Manager in your Control Panel to change the permissions.
Related Questions