Fedora Servers :: Cgi Perl Script On Apache Server Have Only Partial Success
Jul 9, 2009
I'm running an Apache web server version 2.2.11 on Fedora 10. I'm trying to get it to run a PERL cgi script but with only partial success. The script uses the PERL cgi package.
The perl script is a simple test case that creates a form to fill in. Once the submit button has been clicked it should then return the data submitted. The perl script writes this to a file called output.cgi
The intial script located in /var/www/cgi-bin/index.cgi gets executed fine when I go to [URL], this works with no probs. However once I hit the button to submit the data I then get the error
Not Found
The requested URL /cgi-bin/output.cgi was not found on this server. Apache/2.2.11 (Fedora) Server at localhost Port 80 Im not sure if its a perl problem or server setup problem, theres probably a simple switch or something but Im out of ideas at the moment.
View 6 Replies
ADVERTISEMENT
Dec 7, 2010
I am trying to insall CPAN, apparently I do this by typing CPAN at the command line.After much else, this results in
Code:
**UNRECOVERABLE ERROR**
Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
[code]....
View 4 Replies
View Related
Oct 11, 2010
I've been trying to get a working server installation with little success. Wailing and gnashing of teeth has occurred. Auto-cranialdepilation (pulling my hair out) is in full swing and the intravenous caffeine is running out. My target is a running Ubuntu server with an e-mail server, Samba and the ability to host a few domains for friends and a couple of volunteer organisiations. All non-profit stuff. For the hosting I need something like cpanel but not actual cpanel; you seen the price of it!
I've installed postfix from the tutorial at [URL]... I think I've got ssh working, in as much as I can putty into the server. BTW, the server is physically next to my desk. Can I get email or webmin working? Can I hell! is there any kind soul out there who knows what they're doing who would be prepared to spend a bit of time puttyed in to the server helping me set the freaking thing up? I'm a sort of noob old hand. I still have a copy of the first edition of K&R and I had the pleasure of owning a Sun 3/260 for some years; wonderful machine! So I can
Code:
rm -rf /* quite happily and know that xnix doesn't know how to make love. Trouble is... SunOS 4.1.1 and Solaris 1 are more my era.
View 3 Replies
View Related
Feb 26, 2010
I tried to install perl-tk today, and tried tcl and tk in the process. "apt-get install" is reporting success, but I can't find the commands. I expect them to be in /usr/bin, but they're not there. I've tried "clean" and "update" as well, and even rebooted, to no avail. Synaptic package manager gives the same results. This is happening on two different systems, one running koala and the other intrepid. Here's a snippet of what I've tried:
%heron 35: sudo apt-get purge tk tcl perl-tk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package tk is not installed, so not removed
[Code]...
View 4 Replies
View Related
May 29, 2009
how to install Apache web server as I want to run my Perl and PHP scripts in web environment. what configuration I need for Perl and PHP. Does I also need some separate software/package/module for perl and PHP? I have experience of running ASP scripts with IIS in Windows environment but have no idea of Apache in Linux for Perl and PHP.
View 4 Replies
View Related
Apr 11, 2011
I have been tearing my hair out with this. As part of a backend perl script i am holding the Epoch time as session data using apache session and mysql so i can delete sessions after an expiry period. When I retrieve the time it is about three months old even when i only just set it. The code example below best describes the problem:
View 5 Replies
View Related
Apr 20, 2010
Trying to install libmd5-perl on Ubuntu server 10.04 beta 2! It says there is no candiate version found for libmd5-perl
View 6 Replies
View Related
May 22, 2011
Does anyone have some material about statistics using ubuntu / linux server, or a text which generally describes the ubuntu server?I need urgent, i'm writing specialization work about administration apache and ftp server on ubuntu 10:10 server, so I need something for the conclusion.
View 7 Replies
View Related
Dec 7, 2010
I and setting up a home web server using Ubuntu 10.04 server (local only). I am currently using Webmin 1.53 to access it remotely all is going great very easy to use. Webmin - Check, ftps-fileZilla - Check, Apache -It Works BUT I cant seam to set up Apache as a named server using Bind DSN. Tried most of the help in the fourms and ..... I think my problems is in the master server selection, do i have to use [URL]... or can i just use myservername. I have tryed both with no luck. First time with the server addition.
[code]...
View 6 Replies
View Related
Aug 11, 2010
I am new here and want to lern CentOS. Current I have installed CentOS 5.5 x64 and Perl 5.8.8. Now i have install Perl 5.12.1 which located to /usr/local/bin/perl. But how I can move it to /usr/bin/perl so root based on Perl 5.12.1?
View 7 Replies
View Related
Mar 6, 2011
I would like to add ROR to my web server, but I would still like to keep php. I tried doing this a few days ago, but it made my PHP unusable so that it would ask me to download a file rather than displaying the php page. how to install ruby on rails without trashing my system again.
View 3 Replies
View Related
Feb 25, 2010
I've setup a Ubuntu 9.10 LAMP server to host a word press blog on an intranet. I've got everything working except the url for the site.The IP address of the server will take me to the site URL.../But I'd rather use the server's name instead of the IP address URL...When i try to go to URL... in Firefox or IE it give me a server not found page and changes the URL to URL...I also have Webmin installed on the server and I've been playing around with the Apache module and can't figure out how to set it so i can use the server name instead of the IP address to get to the site.
View 6 Replies
View Related
Jul 27, 2010
We need to set up Apache 1.3.41 and php4 on a server since our other server just broke down.. and our current code is not compatible with apache2 and php5. I have the source files of Apache 1.3.41 and of php4. I do not have any problems in setting up php4 but, after setting up apache2 it gives me that i have successfully built Apache 1.3. But when i try to start it through apachectl it gives some errors like
Code:
Syntax error on line 329 of /usr/local/apache/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
[code]....
View 2 Replies
View Related
Sep 16, 2010
I have a debian lenny machine that I am trying to add mod_perl to and use apache asp on. I have had a range of failures on it. Is ther a way I can build apache2 with mod_perl in it? Instead of separate. Apache2 is built with some modules built in by default, how can I make mod_perl one of them?
View 1 Replies
View Related
Jan 28, 2010
I have it set up so when I go to URL... it shows my server. I'm not sure how I can make it viewable to everyone though.
View 3 Replies
View Related
Apr 6, 2010
My apache server don't want to start by itself on boot.
View 9 Replies
View Related
Sep 1, 2011
I am currently trying to upgrade the Apache installation on our server from v2.2.14 to v2.2.19 using:
[URL] as a guide.
Unfortunately I seem to have hit some walls. When trying to execute ./config.nice I get the following error:
./config.nice: 33: /build/buildd/apache2-2.2.14/configure: not found
Google have not yielded any results as yet. If I leave out this step and use configure, make and make install, v2.2.19 gets installed, but to a different directory and all the config will need to be reformatted as it seems it does not use the Ubuntu Apache config structure.
View 5 Replies
View Related
May 17, 2010
I have no idea what is going on here and this is the second time it has done this but. I just installed Lucid Lynx Desktop Edition for my Server. I have installed apache php5 mysql binarys. I have 3 ips on the machine 10.0.1.30, 10.0.1.37, 10.0.1.38. .30 is the main ip 10/100 the rest are 10,100,1000 ports. I can only access Apache 2.2 over .37 or .38 but not .30
I have not used Ubuntu alot but I am starting to and this really pisses me off since all my computer have aliases to the machine through .30
View 5 Replies
View Related
Jun 6, 2010
bit of a server noob having built a server to hold a php website for a client hosting at home, I have some experience, but VERY limited and don't speak fluent server.My problem is that overnight each day apache on my clients server stops responding. I can still access via putty / webmin.The best I can see it, it seems that apache 2 opens too many child processes and chokes the system. My reasoning for this is:-Though I have max child set to 20 with a keep alive of 30 there are dozens of child processes 'apache2 -k start' running, some of which were started 9.5 hours ago.
-I can stop apache, though that doesn't kill these child processes. I can terminate the parent process which does kill the child processes, however restarting apache after killing the child processes results in a system crash. Rebooting the server remotely after apache has stopped responding also results in a server crash. That is NO response on any port.I would be happy to display any pertinent server config/logs etc if anyone can help me troubleshoot this?
View 2 Replies
View Related
Dec 8, 2010
A week ago I purchased an VPS. The first few days I was having trouble to set up an outgoing connection on the VPS. Eventually it turned out to be some misconfiguration of the server where the VPS is hosted on.Since then I have installed the apache server, but I'm still not able to access the apache server from an external computer. I already have contacted the provider, but they haven't replied yet. To speed things up I was hoping someone could check my configuration to be sure nothing is wrong with it.To be sure I posted all configuration and information that I think would be important. Please contact me if you need more information.
View 2 Replies
View Related
Apr 28, 2011
teste.domain.com:
Code:
<VirtualHost *:80>
ScriptAlias /cgi-bin/ /home1/_sites/teste/site/cgi-bin/
<Directory /home1/_sites/teste/site/cgi-bin/>
Options FollowSymLinks +ExecCGI
AllowOverride None
[Code]...
View 2 Replies
View Related
Apr 20, 2010
I'm not sure is this is possible or not, but what I would like to do is take my public address mydomain.com and configure a virtual host something.mydomain.com only instead of having the content on the same server I would like it to point to the IP of my virtual machine that is in my private network and display that page publicly. Does anyone know if this is possible, or how to do it? I have done this with port forwards, but would like them both to be on the same port.
View 3 Replies
View Related
Feb 23, 2009
I installed fedora10 on my system with live cd.I started httpd service.I also set static IP address, subnetmask and default gateway as my proxy server.It is only accessible through http://localhost at the same machine.but I need to access it through http://ipaddress/ on my other LAN machines which has window operating system.
View 8 Replies
View Related
Sep 15, 2010
I've got a perl script which generates an html file. What I'd really like to do is send people to just one page (the perl page) which then generates the html and shows the html page in question. Thus the whole transition will be invisible to the user, they'll just have an html page.FYI the perl script generates a list of the users who last logged in to the system, it needs to be up to date (by the second).Let me know if this isn't clear, I understand it sounds a bit confusing...
View 4 Replies
View Related
Sep 6, 2010
So if I disable apache 2 my ngnix server will serve the files in /var/www automatically.
View 1 Replies
View Related
Jul 11, 2011
I'm working on a side project where I would like to install three ubuntu server systems,each with only one task.So server0 would be the apache server, server1 would be the database and server2 would be the file server.which key terms I should be researching?
View 9 Replies
View Related
May 6, 2011
I had Xming working great with XDMCP on my Debian 6 server at work. I had to replace the UPS and when I brought the machine back up xming/XDMCP no longer worked correctly. When I launch Xming and connect to XDMCP session I get the Xming window, the X Cursor but the GDM login window never appears. So I am getting some level of connectivity. The only change that was made to the server was that OpenVPN service was turned on. I do not know if this is the right log to be looking at but /var/log/gdm3/:0-greeter.log has this in it a number of times:
(polkit-gnome-authentication-agent-1:2252): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
View 1 Replies
View Related
Feb 7, 2009
I've installed a server (CentOS5.2) - and I need a new(er) PHP, so, I get me one. This is what I did:
- unzipped the bundle in the root's home
- of course, I entered the folder
- entered "./configure"
- entered "make" - the compile didn't come back with errors
- entered "make test" - there was a _possible_ fail...
- entered "make install"
I noticed there's nothing in the /libs, where I'd expect a module (lib5php5.so) to exist. there is one, but it belongs to the older PHP. It's located in ets/httpd/modules (a link BTW - but I think that's normal). At the console I type:
"which php" and get a path to PHP /usr/local/bin/php
"php --version" and get 5.2.8 and some extra info
in the server I entered "<?php phpinfo(); .>" in a PHP page, as I call that page, I get ... 5.1.6 as version.
Of course, I suspect Apache to have the OLD PHP in its config, (the old lib5php.so) and that I may have to overwrite the old one with the newly compiled one, if I had it. I ran a locate on the system, but no other lib5php.so files exist. Where did I loose track?
View 2 Replies
View Related
Feb 15, 2010
FedoraVersion 12 ConstantineNoyau Linux 2.6.31.12-174.2.3.fc.x86_64Gnome 2.28.2Memory 871.4 MoAMD Athlon LE-600Free disk 71.5GoSelinux is deactivated.Httpd doesnot start and, when I start "onfiguration des services", and click D�marrer, it runs for ever, but never starts Apache...
View 8 Replies
View Related
Jul 20, 2010
I have now blown Windows XP away completely and done a clean install into 80Gb hard disk (x86). I know that httpd is running and I've added the snippets to httpd.conf that output server status and server info to the web browser, so I can see that all the required PHP stuff is loaded. So something like http://localhost/server-info works fine but something like http://localhost/helloworld.htm produces the wrong output:
contents of helloworld.htm:
<?php>
print("hello world");
print(phpinfo());
<?>
[Code]....
View 4 Replies
View Related