Ubuntu Installation :: Unable To Get Apache Web Server To Run Scripts

Aug 11, 2011

I've tried on both 10.04 and 10.10. I apt-get install apache2, and put a simple "hello world" perl script in /usr/lib/cgi-bin, but when calling the script via the webserver I get a 404 "file not found" error.

/etc/apache2/sites-available/default already contained (out of the box)

Code:
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

This used to work out of the box in the days of the older monolithic apache. What configuration has to be made to enable scripts to run?

View 1 Replies


ADVERTISEMENT

Server :: Apache-php Deploy - Unable To Run Files

Jul 2, 2010

i installed apache 2.2.15 in my system its working properly.... but i deployed some php files in /usr/local/apache2/htdocs ... i was not able to run that php files ..... if i run that php file in browser it shows content of that file... for an example i created one test.php file(it contains <?php echo "hello world" ?>) and put it in /usr/local/apache2/htdocs... if i run in browser using this [URL] its shows in browse like this <?php echo "hello world" ?>......

View 1 Replies View Related

Server :: Unable To Start Apache - No Listening Sockets Available

Apr 29, 2011

I am very new (since yesterday) to Linux also new to web server setup. I have installed all LAMP components, including SSL as described here: [URL]. I have added LISTEN 443 Wanted to restart the apache server -> no success ! stopped it, now doesn't start at all:

Warning msg=>
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:44 no listening sockets available, shutting down . .
Failed

I tested Apache and my PHP earlier and it worked. Now after SSL and FTP installation it doesn't work anymore! Also I am wondering about my server name, it is the set IP of the web server, surly i should change that? Only used link for SSL set-up, used diff links for apache php etc (also have java JRE installed as I will need that later for my app) also have GNOME available, but prefer command line.

View 5 Replies View Related

General :: Unable To Change - Edit Html Files In New Ubuntu 9.04 - Apache Server

Oct 20, 2009

I suspect that this has come up numerous times, but I am new to Linux and I am setting up a new in-house server using Ubuntu 9.04 and Apache, etc. I can see the welcoming "It Works!" message when I log in via Firefox. I can see "index.html" when I FTP the server with the site name and password at /var/www. I can also see the -rw-r-r-- attributes, but I can't edit the HTML file or replace it. When I try to rename the "index.html" file.

I get the following message: "Request denied. Verify that the file or folder exists and that you have the necessary permissions on the server to perform the requested operation."

I haven't been able to determine where to enter the password or what changes I need to make to be able to work with the /var/www directory via FTP.

View 4 Replies View Related

Networking :: Unable To Access Web Server From Computer Running Apache

Aug 2, 2010

I am a newbie to linux of 4 weeks. I set up my first web server and it works flawlessly - when accessed from external network or from other computers on my lan. However, I cannot access it from the computer where the server is run on. I have found numerous people with similar problems but the flavour I am experiencing is somewhat different and no solutions I have found apply to it.I have two network interfaces on my server, eth0 (public static IP connected to internet) and eth1 connected to LAN 192.168.1.0/24 range. The server is 192.168.1.1

I added "192.168.1.1 www.server.com" to the /etc/hosts on the server and also on the other machines on the LAN. All the other machines can open website without any problem.

HOwever, the server itself only opens website if the address is localhost. Internal IP, i.e. 192.168.1.1. gets a time out and so does www.server.com.I do not understand why the record in etc/hosts doesn't point it in the right direction. It seems that when I open address 192.168.1.1 it still gets routed to the external network. I have seen using DNAT to deal with the problem but it didn't work in my case (maybe I didn't do it correctly). I have spent whole evening/night trying to sort it out, it's 4AM now, going to bed frustrated and angry (at myself hahaha). Still like linux very much, won't be going to windows anymore. Please help

View 14 Replies View Related

Server :: AD User Login To Nagios - Unable To Execute CGI Scripts In Apache

Apr 25, 2011

I have a nagios server monitoring around a 1000 hosts in our office. To make things easier, i've integrated apache into Active Directory for the website authentication. This works perfectly, however the Nagios website uses alot of CGI scripts to display information I get the message below when trying to show CGI scripts with an AD user. Local users work fine. 403 Forbidden You don't have permission to access /nagios/cgi-bin/status.cgi on this server. I tried adding the AD users to the cgi.conf file within Nagios (which works for local accounts) but it doesn't seem to work even with this change.

View 4 Replies View Related

Server :: Opensuse Apache Connection - Unable To View Website From Outside The Local Network

Jan 29, 2011

I am running opensuse with LAMP, and this is my first time setting up this type of server (usually am a windows junkie) My problem i am having is that I am unable to view my website from outside the local network. I have setup my router for a dynamic dns and forwarded all the ports through the router and the local firewall. I ran the apache setup through YAST2 and everything seems fine locally but when i attempt to access it elsewhere its not connecting. computechsolutions.dyndns.biz is the dynamic dns address i have setup through my router.

View 2 Replies View Related

Fedora Installation :: Unable To Access Apache From Remote

May 11, 2010

Unable to access Apache from remote server..

Also, my php pages won't load..and php is installed.

View 1 Replies View Related

General :: Webmin Error: Unable To Open A Webpage Even Though Virtual Server In Apache Is Added

Aug 2, 2010

I tried creating a virtual server in apache and it got created successfully. (I also added a zone in dns for that domain successfully) However, when I try opening that domain in my browser, I see a popup window which asks me what to do with "default" which is a php file type.

I dont see the index.php which should actually open. What do I do to make the php files display correctly?

View 2 Replies View Related

CentOS 5 Server :: Apache 'server-status' 404 Not Found + Munin Apache Stats?

Oct 14, 2010

I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.

first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5

[code]....

View 7 Replies View Related

Ubuntu Servers :: Unable LDAP Support For Ubuntu 10.04 LTS Server Running Apache 2?

Jul 27, 2010

I'm wondering how I can enable LDAP support for my Ubuntu 10.04 LTS server running Apache 2 and PHP 5.3.2? What I'm trying to do is allow users on my existing company's LDAP system to login to my Elgg site automatically (and possibly have their details filled automatically).

View 1 Replies View Related

Ubuntu Servers :: Upgrade The Apache Installation On Server From V2.2.14 To V2.2.19

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

Server :: Unable To Add "apache" Service To Conga - Red Hat Cluster

Jul 11, 2010

I am new to clustering. I have created this scenario on VMware Workstation after reading numerous links and videos.

Few of them are
[url]
[url]
[url]

Code:

I am using a shared GFS2 filesystem mounted on /data for this purpose which is from openfiler.

Code:

I am trying to create a HTTP cluster so that if in case of one node fails
- Shared partition (/data) in my case gets mounted on the other node
- Also, HTTP services can be started on the other node.

/data has the index.html file which is read by HTTP. Also, I have configured HTTP such that it only listens to 192.168.1.100 (shared IP) on port 80.

Code:

I have configured the cluster, service "sharedIP" which has IP 192.168.1.100; I took help of this doc.

Code:

Member Status: Quorate

I have tested the service sharedIP failover by powering off the machines one by one.

I used the below command for failover

Code:

Now, I need to try running apache from shared IP 192.168.1.100 which will fetch file from /data/index.html

I tried no. of times to configure service and resource for apache.

But somehow, it is not happening. My apache bin is /usr/local/apache/bin/apachectl start|stop

I have given such long info to help some other newbie. I will certainly write a HOW-TO for this.

View 10 Replies View Related

SUSE / Novell :: Clear Apache Cache Without Restarting Apache Server?

Feb 4, 2010

Any one have an idea How to clear apache cache without restarting apache server.

View 5 Replies View Related

Fedora Installation :: APACHE Web Server & PHP On Machine?

Aug 7, 2010

Do I need to install APACHE web server & PHP on my machine ? or it is inbuilt there ? If it is so then how to use the server ? I have Fedora 9.

View 1 Replies View Related

Server :: Apache Tomcat Installation And Configuration

Apr 28, 2010

If any one knows about Apache-Tomcat installation.

View 5 Replies View Related

Server :: Installation Of Apache Tomcat 5.5.27 In CentOS5

Jan 4, 2010

I have installed apache tomcat 5.5.27 in centos5. I edited the server.xml file also. The startup.sh and shutdown.sh commands are working fine. But tomcat is not opening in the browser. Can you suggest me something or tell me the steps involved in installing tomcat. Is admin.tar.gz of apache tomcat required for its working?

View 1 Replies View Related

Server :: Tunnel Apache Virtual Host To An Internal Apache?

Jan 24, 2010

I am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.

However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?

View 5 Replies View Related

Fedora Installation :: Apache Web Server Does Not Start Automatically Unless Login

Feb 20, 2009

I have a problem with running Apache web server. I think my problem is either I can not get httpd to load automatically or it's being blocked from external unless I'm logged in, don't know which. Or, I'm completely off base. Either way, being logged in solves the problem. Now I just need to fix it. This is a brand new server running latest apache and fedora 10 (all fully patched). Loaded from source to all default (non RPM directories - apache is /usr/local/apache2/... )

I modified the existing /etc/init.d/httpd script and had it point to the /usr/local/apache2 areas.I even did a chkconfig --add httpd and show it is on for run levels 2345.The problem is that when I reboot the server httpd does not load because I can not access the website.However, the minute I login to the server as a user (non-root) it automatically loads httpd and the website works.Then, when I logout, everything is inaccessible again. I even tried to put the commands in the /etc/rc.local script (or wherever it is).Same thing happens.I know this is a simple fix. Just don't know what it is. Is it related to SElinux? However, wouldn't SElinux create access problems regardless of being logged in or not? Once I'm logged in, everything automatically fixes itself (either it's a service load or a rights filter fix).

Remember, everything works perfectly as long as I'm logged in to the server (even as a non-root user). Just the act of logging in makes the web server accessible from to the rest of the world. However, when I logout, the web server is inaccessible.

View 5 Replies View Related

Fedora :: Login Missing After Apache / Zend Server Installation

Jan 9, 2011

I am new to Linux. I installed some weeks ago Fedora 14 via burnt iso file downloaded from official Fedora site. It was working perfectly like a charm for me until yesterday when I tried to install zend server for PHP. During my first try of installation of zend server it corrupted out my apache server and I lost apache on http://localhost. I removed all "zend-server" like stuff from "Add Remove Software" screen. Installed again apache 2 in the form of LAMP (Linux Apache Mysql Php) via terminal. Apache installed correctly and started workeing again ok on localhost. Then again I tried to install zend server from install.sh file in downloaded zend server installation. It showed me after a while like "zend server installed successfully".

I shut down my pc thinking everything is ok now. Today when I started my system, it shows me boot screen of Fedora, I select fedora and then it shows me balloon filling up for around 5-7 secs. Then all of a sudden a black screen appears up with a cursor blinking at its top left and then nothing else happens further. I cannot find login screen to my desktop anymore. I remember one thing that during reinstallation of apache from terminal, I set following command like "chkconfig --level 235 httpd" (I guess that's what I have written as per some online tutorial for LAMP). Is that cause of mine problem ot its something else?

View 11 Replies View Related

CentOS 5 :: Apache Error 403 - "Forbidden You Don't Have Permission To Access /bb/ On This Server" - 5.2 With Apache 2.2.3

Jan 20, 2011

I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:

1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)

I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..

View 3 Replies View Related

Server :: Server Slow : Apache Mysql Fine Tuning Server For Faster And More Responsive?

Apr 21, 2011

I'm running a linux cloud server with the following config
1.2ghz Processor allocation
752MB Ram

The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?

Httpd.conf

Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....

View 2 Replies View Related

Ubuntu :: Unable To Upgrade 10.10 With Apache?

Oct 22, 2010

After i upgraded my server from 10.04 to 10.10 one main user account(the one i use to su) has lost the contents of the public_html directory, I'm not sure why this has happened all other users accounts are intact, i had this issue once before and fixed it, but i cannot seen to find the solution to this now.

View 3 Replies View Related

Ubuntu Installation :: Unable To Get The 10.10 Server

Nov 29, 2010

This is where I stand at this time. I have used the MD5SUM on the Ubuntu files for 10.10 server both the I386 and the AMD64, and the Desktop I386. All three passed as being non compromised files. I then burned the files on CD's using infrarecorder as the web site shows.

Machine 1:

Asus M2N68-AM Mother board and Athlon processor
Western Digital 1tb hard drive
1 gb memory
64 bit

[code]....

I am question if the fact that the motherboard does not have a built in video card if that is a problem with this machine. I can not get to any screen on either of these CD's to do the Ubuntu "checks" Since the server version does not load or work correctly on either machine I am asking if there is a problem with the server package as distributed. Since the desktop works on Machine 1 it makes me think even more that there is a problem with the server packages. I have used all the tools that are available through Ubuntu to the best of my ability. With what I see I am thinking that there is a problem with the image used for the server. I would stay with 9.04, but there is not way to update this package.

View 1 Replies View Related

Ubuntu Servers :: Writing Specialization Work About Administration Apache And Ftp Server On 10:10 Server?

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

Ubuntu :: Install Apache - E - Unable To Locate Package ?

Mar 23, 2011

I'm trying to install apache on Ubuntu 10.10 and getting this:

E: Unable to locate package apache2

View 4 Replies View Related

Ubuntu Servers :: Home Web Server - Cant Set Up Apache As Named Server Using Bind DSN

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

Ubuntu Installation :: Unable To Boot After Upgrading Server From 9.04 To 9.10 Under Xen

Feb 15, 2010

I've just upgraded my server installation from 9.04 to 9.10. I'm running this as a Xen virtual machine. All seemed to go well until I restarted, at which point I got stuck at this point:

Begin: Running /scripts/init-bottom ...
Done.
mountall:/proc: unable to mount: Device or resource busy
mountall:/proc/self/mountinfo: No such file or directory

[code]...

My service provider is running xen-shell 1.0.79 running on Xen version 3.0.3-1, and after the seemingly-successful do-release-upgrade, uname -r reports ubuntu kernal 2.6.18-5-xen-amd64. Unfortunately, this isn't mentioned as a possible problem here [URL]

View 1 Replies View Related

Ubuntu Installation :: Unable To Boot After 11.03 Server Install

Jul 11, 2011

I completed an install of Ubuntu server 11.04 last night. After the initial reboot I receive a message stating there is no boot disk. Needless to say, this was irritating. I have run Fedora 14 w/Amahi on this computer for several months but, I wanted to try something different. I am running the following:

Intel DG965WH MB
Intel Core 2 6300 @ 1.86Ghz
4gb Ram
3 2T HD's (WDCWD20EARS-00M, ST32000542A5 and, ST2000DL003-9VT1)
Nvidia 9600GT
Creative X-FI
Sony DVD Optical Drive.

I wanted to use server so I can setup an LV during setup, which doesn't appear to be offered with the Desktop version (during setup I mean). So, ANY help would be really awesome. I don't care which version, of the OPSYS, I use as long as it can do the following:

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Apache Virtual Host Unable To Connect

Jan 18, 2011

I've set up a server running Ubuntu 10.10 (desktop) with apache. Problem is: When I try to configure multiple virtual hosts I can only access the first one. I'm sure that I'm missing something basic in my setup, but I cannot seem to figure out what.

What I want is simply two virtual hosts, one only available on the LAN where I can test my php files and one "live" available from the outside.

Heres what I've done:

Installed Apache2.2
Copy /etc/apache2/sites-available/default -> /etc/apache2/sites-available/dev
Modified "dev" config DocumentRoot and Document to point to /var/www/dev
Modified "dev" config VirtualHost to <VirtualHost *:1337> (port change right?)
Modified "default" config DocumentRoot and Document to point to /var/www/live

[Code].....

Live works fine, but dev cannot connect (as if there is no server there).

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved