Ubuntu Servers :: Firefox Can't Open Php File From Apache2 On Localhost

Mar 31, 2010

I've just moved on to 10.04 from 9.10. The program worked fine in 9.10. I *may* have overwritteen a conf file in the upgrade...

I now get the error as below:

My userdir.conf is like this:

<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>

[Code]....

and I have the PHP5 module installed. I vaguely recall that I may have had PHP4 installed - would the upgrade have removed it? Is there anywhere I can get it from to try? Anything else to do?

View 9 Replies


ADVERTISEMENT

Ubuntu Servers :: Cannot Get PHP To Open In Firefox With Apache2

Apr 12, 2010

I'm using Ubuntu 9.10 with Firefox 3.5. I am trying to open a local php file in Firefox. I already installed Apache2. I already installed the PHP5 modules for Apache2. I already tried restarting Apache2 and I cleared Firefox's cookies and cache. Apache2 is currently running and PHP is in the "mods-enabled" folder. Yet every single time I try to open a local PHP file, Firefox asks me what program I want to use to open it. I have no idea how to proceed at this point.

View 7 Replies View Related

Ubuntu Servers :: Apache2: Localhost Responds Only When Connected To Internet?

May 12, 2010

I am on Ubuntu 10.04 LTS. Installed LAMP yesterday using:

Code:
sudo tasksel install lamp-server
Tested Apache, PHP, MySQL then, all worked fine.

[code]....

View 1 Replies View Related

Ubuntu Servers :: Firefox Can't Connect To Localhost But Chromium Can

Jul 28, 2010

After spending what seems like an eternity trying to learn how to host a couple of webpages on my laptop for no better reason than to practice creating them without paying for a server. .for the time being, I kept getting the usual errors (stuff I have seen lots of tutorials on) and this time kept getting

"The connection was refused when attempting to contact localhost"

Just by random chance I happened to open up Chromium for one of my attempts and low and behold, I get the much awaited

Quote:

It works! This is the default web page for this server.The web server software is running but no content has been added, yet. I can even login to phpMyAdmin from Chromium. So what's going on with Firefox? Doesn't work in Seamonkey either. Using 10.04

View 7 Replies View Related

Ubuntu Servers :: File Creation Error On Apache2 .cgi File?

Jan 14, 2011

I am using python as a cgi for a simple game that i'm planning to run on a website. It requires the user to enter his name and age. This is saved in a file newly created in his/her name. However, I'm getting this error The above is a description of an error in a Python program, formatted

63 for a Web browser because the 'cgitb' module was enabled. In case you
64 are not reading this in a Web browser, here is the original traceback:
65
66 Traceback (most recent call last):
67 File "/var/www/webprog.cgi", line 51, in <module>
68 main()
69 File "/var/www/webprog.cgi", line 44, in main

[Code]...

View 4 Replies View Related

Ubuntu :: Apache2 Localhost Not Available When No Internet Connection

Jun 12, 2010

I am running the version 10.4. As I am learning mySQL and PHP, I installed Apache2, mySQL and PHP, as discribed in this link. The problem is I have to have any sort of Network, either LAN, WiFi or Mobile Broadband to access my localhost. When I am connected to internet, my local host works fine, without any problem, but as soon as I get disconnected from internet, localhost is not available. I have googled a lot, but could not find a solution.

View 5 Replies View Related

Software :: Apache2 Won't Connect To Localhost Or 127.0.0.1

Mar 16, 2009

1. I use a cable modem with a specific IP address & a router with port 80 forwarded to my home Linux development machine. From outside my house (e. g., from my office), I can connect no problem.

2. My home development machine is IP 192.168.1.20- if I use this address in the browser (on the home development machine) it connects. However, on the same machine, neither localhost nor 127.0.0.1 connect.

Nothing shows up in the regular log (even with logging set to "debug"), but this shows up in the error log for both localhost and 127.0.0.1:

Quote:

[Mon Mar 16 19:05:28 2009] [error] [client 127.0.0.1] File does not exist: /htdocs

This is particularly odd, since I have NO reference to htdocs in any of my configuration files. I have grep'd all over the place, and the only reference that shows up is in the apache2 binary. When I do 192.168.1.20, I get this in the error log:

Quote:

[Mon Mar 16 19:10:24 2009] [error] [client 192.168.1.20] File does not exist: /var/www/localhost/scripts, referer: http://192.168.1.20/

Which should be OK, because in this initial, very immature test environment, I don't have the /scripts directory defined; I don't think it has anything to do with my problem. I get the web page. My sites-enabled/000-default (appropriately linked per convention to a file in sites-available) has been completely stripped down. I have exactly the same situation with the default sites-* file. Here's the minimal version:

Code:

NameVirtualHost *
<VirtualHost *>
ServerName localhost
DocumentRoot /var/www/localhost

[code]....

View 14 Replies View Related

Ubuntu Servers :: PHP/Apache2 Restricted In File Manipulation?

Aug 18, 2010

I have a LAMP server set up (under Ubuntu 10.04 64-bit), and have a PHP application running on the Apache2 server. I copied the "default" website setup, and created a new one with the root at "/home/kota/WebRoot/".

When running my PHP application though, I come across a major issue: The script doesn't seem to be able to modify any files that are currently on the system, or create new ones.

However, this limitation is restricted to when running through Apache2. In other words, if i run it by typing "php5 myapplication.php" from the terminal, it works without a flaw. This leads me to believe that there is a permissions issue, disallowing Apache2 to create and modify files anywhere on my system.

Although it shouldn't make much of a difference, here is the basic information that I feel I should provide:

Code:

View 2 Replies View Related

Ubuntu Servers :: Simple Apache2 Configuration File Package Could Get?

Apr 2, 2011

Anyone have a simple apache2 configuration file package I could get?I'm trying to serve a internal network site for files throughout my network, (music, video, etc). I remember when I did this with Redhat 5-6 and all I had to do was redirect the folder I wanted to share over apache and it worked. You could click on the file you wanted and it played, etc.For some reason I can't even get apache2 that ships with Ubuntu 10.04.02 to even have a "It worked!" internal site or anything. I haven't configured apache2 ever before. It seems to have grown from one or two configuration files to five or so!

View 7 Replies View Related

Ubuntu Networking :: Apache2 And Localhost - Network Manager Kept On Messing Around And Disconnecting

Mar 14, 2010

a while ago, Network manager kept on messing around and disconnecting me etc. I attempted to setup a static network (wired) and since then, everything worked fine. I also have apache running and have had no problems with that. I know there were some apache auto updates this week but I have been doing no dev work. I went to check out one of my local sites to do some work yesterday and there was just nothing happening.

I checked everything with apache, it is all running etc. I have stripped back the conf files to be clean and fresh and netstat is showing apache as listening on 127.0.0.1:80 as it should for a single default site that I have on there now. BUT if I try to ping localhost by name or by 127.0.0.1 I am getting "Destination Port Unreachable" Since I have been trying to fix this, I have been trawling the internet to try and clean up my network setup from scratch (I have also had problems with https sites that has turned up to be the MTU setting on my eth0 interface) but to be honest I am not sure exactly what should be set between ifconfig, route, netstat and apache. should I be able to ping localhost independantly of running apache2 (i.e if it is stopped) or would a successful ping rely on apache working correctly.

View 6 Replies View Related

Ubuntu Servers :: Apache2 - Browse Directories In /var/www From Firefox - Error "The Folder Contents Could Not Be Displayed"

Aug 16, 2011

I recently installed Apache on Lucid Lynx (Macbook 1.1) using the following tutorial: [URL] Everything appears to work correct except that when I browse http://localhost/ in Firefox, I cannot see any of the directories. Although, files such as html documents are visible. When I view the /var/www directory using the default graphical file browser, all of its child directories have Xs over their icons. When I attempt to open the directory "js", the following error message displays:The folder contents could not be displayed.
You do not have the permissions necessary to view the contents of "js".

I figured this was preventing Firefox from viewing the directories. So I launched it with the "gksu" command to see if it would help. I still couldn't see directories when browsing http://localhost/ I'm basically trying to achieve functionality identical to the MAMP local server for Mac OS X. I'm about to start a LAMP project for a new client so having this up and running is important!

View 5 Replies View Related

Fedora Servers :: Mount.nfs4: Mounting Localhost:/home Failed - No Such File Or Directory

Nov 28, 2009

I can not use nfs from F10 client to F12 server. nfs mount on F10 to F12 times out anf nfs4 mount gives "mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory" I have tried to close firewall and set selinux to permissive mode on both client and server with same result. Samba works fine. On server [root@flokipal ~]# mount -t nfs4 localhost:/home /media/tonlist mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory

but

[root@flokipal ~]# mount -t nfs localhost:/home /media/tonlist
[root@flokipal ~]#

works

View 3 Replies View Related

Ubuntu Servers :: Can't Find IP Address When Open Firefox

Mar 24, 2010

I have two computers one with Ubuntu Server (just for fun) and another with Ubuntu Desktop. I connected them with one LAN cable so there is no internet and what I want is to open firefox in Ubuntu Desktop and view the apache test page but I can't find IP address, ifconfig just displays the ipv6 one?

View 5 Replies View Related

General :: X11 Forwarding Then Firefox, The Localhost Firefox Is Activated?

Mar 15, 2010

I'm having this strange behaviour. If i ssh -X remotehost, and then i issue firefox, the localhost firefox is activated.

View 3 Replies View Related

Debian :: Firefox 3.6 - Cannot Open Shared Object File

Oct 1, 2010

I did a fresh install of debian testing, changed to sid and did a dist-upgrade. Downloaded firefox 3.6 and placed it in my home directory. When I try to run it, I get the following:
Code: .....
Whats missing? I've also changed ownership of the file to me but i get the same error.

View 4 Replies View Related

General :: Firefox - 4.0.1.tar.bz2 - What Directory And File To Open - Or Extract

May 10, 2011

I'm Fedora 14 Kernel Linux 2.6.35.13-91.fc14.i686

I downloaded the new firefox and I don't know what to do with it.

What directory and file do I open it, or extract it to?

View 8 Replies View Related

Software :: Error: 'firefox-*.pkg.tar.gz': Cannot Open Package File

May 16, 2010

im still trying to install firefox, and i just now tried the command

pacman -U firefox-*.pkg.tar.gz

and got the error message,

loading package data...
error: 'firefox-*.pkg.tar.gz': cannot open package file

View 14 Replies View Related

Ubuntu :: Firefox Can't / Server At Localhost

Jan 4, 2010

I have two machines running Ubuntu 9.1, both with Firefox 3.5 fitted, working well, apart from an error on one machine.When trying to download a Torrent I get the error "Firefox can't establish a connection at the server at localhost: 12322".The other machine is fine without this error.I have searched the Firefox files and this forum, plus a variety of sources but cannot find an answer, apart from "use the other machine".

View 4 Replies View Related

Ubuntu :: Localhost - Asking For Username And A Password When Start Firefox

Oct 26, 2010

When I start firefox the first thing it does is asking a username and a password. Very strange. Other browsers do not do this authomatically, but they do if i type localhost in the adressbar. I'm using ubuntu10.04, and firefox 3.6.11. At the very beginning I thought that there was some problem with TOR, since the problem first appeared one day I turned it on (I had used it before, without having any problem). Now I've completely uninstalled TOR, but the problem is still there.

View 4 Replies View Related

General :: Localhost Port 25 Not Open ?

Nov 6, 2010

Made some network and hardware changes, and now I can't get the mailserver to work. It seems that sendmail can't loop to itself on 127.0.0.1. When I nmap localhost, I find that port 25 isn't open.

Naturally, nothing has changed on my system except for different routing, interfaces, etc.

So the question for sendmail gurus,is where should I be looking?

View 4 Replies View Related

General :: Can't Open Display - Localhost - 0.0

Dec 1, 2010

Im using the Redhat 5, when m trying to connect from X-start it showing error:

Can't open display: localhost:0.0

Where as /etc/ssh/sshd_config settings are correct

Also ssh is running
$DISPLAY is set to localhost
still it is not started any x-service

View 2 Replies View Related

General :: Can't Open Display Localhost:0.0?

Mar 31, 2011

I'm trying to connect to my linux server but I'm having some major problems. The server had OEL 5 installed and my local pc is running Windows XP. I'm using PuTTy to connect to the server with Xming running on my loacl machine. I login as root and run the following command - export DISPLAY={ipaddress}:0.0I then run xclock and get the following error - Xlib: connection to "{ipaddress}:0.0" refused by serverXlib: No protocol specifiedError: Can't open display: {ipaddress}:0.0The strange thing is that on my bosses pc (who has got almost the exact same setup ie. PuTTy & Xming) is works perfectly.

View 2 Replies View Related

OpenSUSE :: SSH / X11 On 11.3 - Error: Can't Open Display: Localhost:10.0

Sep 25, 2010

I was trying to remotely log in to my desktop which uses 11.3 from my laptop via ssh. For some reason I get an empty field for the command echo $DISPLAY. and as a result an xclock command results in error: can't open display. I tried to set it to localhost:10.0 and I get: Error: Can't open display: localhost:10.0

I've tried :0.0 and I get: Invalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: :0.0 ssh used to work about a week ago before I performed various security updates. I was wondering what' the solution to this. I checked the /etc/ssh/sshd_config file and ssh_config file both have X11 forwarding on. Can anyone with more experience out there give me any ideas?

View 9 Replies View Related

SUSE :: Error: Can't Open Display: Localhost:10.0

Apr 6, 2010

When I attempt to use Putty for xterm (to run DBCA for Oracle) I check x11 and put my IP Address in the Display field of putty. However, when I then try to execute ./dbca I receive the following:

Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Error: Can't open display: localhost:10.0

I notice the following when logging in to the server as well.

Last login: Fri Mar 19 13:51:19 2010 from 10.47.48.33 /usr/X11R6/bin/xauth: error in locking authority file /home/oracle/.Xauthority. These are the same steps I take successfully on all the servers. The above file exists on the servers I can initiate the GUI, but not on <server1>.

View 5 Replies View Related

General :: Xwd: Unable To Open Display 'localhost:15.0'

Jul 5, 2011

I'm SSH'ed in to my Ubuntu 11.04 machine and trying to take a screen shot of a virtual display where I'm running (hopefully) Firefox. I get the error

Code:
selenium@selenium:~$ xwd -display localhost:15.0 -out ~/desk.xwd -root
xwd: unable to open display 'localhost:15.0'

I know that I have displayed the right display variable because in an earlier script that runs at system bootup I have

Code:
export DISPLAY=localhost:15.0
/usr/bin/Xvfb :15 -ac -screen 0 1024x768x16 &

View 1 Replies View Related

Ubuntu :: Failed To Connect Firefox Can't Establish A Connection To The Server At Localhost

Feb 3, 2010

I installed required updates on my linux installation (ubuntu 9.4) I am now unable to access my localhost, and get the following message from my browser: Failed to Connect Firefox can't establish a connection to the server at localhost. Though the site seems valid, the browser was unable to establish a connection. I checked my hosts file which has the following information:

[Code]....

View 6 Replies View Related

Red Hat / Fedora :: Firefox Can't Establish A Connection To The Server At Localhost

Nov 3, 2010

I've installed apache application server v7.I get a problem when I type the command localhost:8080

Unable to connect Firefox can't establish a connection to the server at localhost.

# ps ax |grep tomcat
9463 pts/2 S+ 0:00 grep tomcat

View 3 Replies View Related

Ubuntu Servers :: Unable To Open Device /dev/megadev0: No Such File Or Directory

Jun 19, 2011

I have an Ubuntu server x64 (10.04) that is running FOG for imaging Its installed on an Intel server board (1 RU rackmount) I configured the RAID in an Intekl based BIOS utility which Looks similar to This Ubuntu installed and runs perfectly. however im unable to monitor the status of the drives from the OS, so Im unaware of any drive failures that may occur I manged to install megacli but it returns blank data (along with exit code: 0x00) Iv also tryed megactl wich says

Code:

unable to open device /dev/megadev0: No such file or directory

one of my colleagues who had used the server previously was certain that the raid was on board the intel site also makes mention of intel using LSI products in their RAID controllers Relevant section of dmidecode:

Code:

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
Manufacturer: Intel

[code]....

View 5 Replies View Related

Ubuntu :: Cannot Open Website Files Via Localhost After Upgrades/software Installs

Oct 13, 2010

I did a fresh install of Lucid 32bit and install LAMP via Mark packages by task *LAMP server...Everything worked fine I could view files via firefox php an all worked... I did the system updates ( since clean install ) and went on a software getting spree... Then I tried to get back to my work on web site and I can no longer connect to localhost via firefox... 127.0.0.1 doesn't work either I tried to restart apache2 and still nothing.

View 1 Replies View Related

OpenSUSE Network :: Open Port On Localhost But Not Remotely

Apr 15, 2010

I have a problem with one of my new OpenSuse installation. I install ntop on this machine so the port 3000 become open, but when i want to use it on a other pc, it cannot see the open port. I really don't understand why i cannot access this port.

I disabled firewall to make sure everything pass.

Here my ntop on my localhost

Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds

Here my ntop from another host

Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds

View 2 Replies View Related







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