Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Hi I just got started with Linux redhat8 and so far so good I do some web design and now that I have an os with pearl how do I use it to on my local machine, Like if I want to set up a script for instance how do I test it without going on line an uploading it can I use the pearl on my box?.
Thanks All the best
Just test it in a directory that isn't accessible to the outside world or available to anyone else with the permissions settings. Setup like a staging type directory that is a mirror of your existing online directory.
Thanks but I still can't get it to work I made a directory called cgi-bin in my home directory and put a cgi script in to it but when I call it up in the browser it doesn't execute just shows up as a text file
cgi scripts don't just "run", they are server-side so need to be accessed through a web server, over http, in your apache conf file you'll need to have the listed directory set as such...
Code:
<Directory "/var/www/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Ok back to original question how do I set it up. How do I find apache I have installed it but as to how to call it up and get it running on my stand alone PC (I don't have a network) Im lost ???
Thanks
Add the section that acid_kewpie suggested. (you may need to add it as an aliased directory too). Look at the config file and modify/uncomment the cgi-bin directive to match your system:
/etc/httpd/conf/httpd.conf
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.