Hi I have had an incredibly rough time trying to run three cgi-files for a website that i am working on. After reading up a ton, I have honestly found no solution and have tried many recommended solutions. I am on Ubuntu 13.10 and I installed Apache2. Right now I am following these instructions Configure Apache
I go thru all the steps and everything works fine, but I get to this step sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/fiz-ix
and it returns this in the terminal. cp: cannot stat '/etc/apache2/sites-available/default': No such file or directory
I then put the files inside sites-available into a folder in sites-available that i made called default and it sitll didn't work though.
I really need some help. I have invested hours trying to get this to work and I really need to get apache to run CGI-Files soon.
Thanks
After some trial and error with cgi and ubuntu 13.10 the following worked
cd /etc/apache2/mods-enabled
sudo ln -s ../mods-available/cgi.load .
sudo ln -s ../mods-available/cgid.load .
sudo service apache2 restart
Regards, Olav
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.