Software :: When View Browser (localhost/test.php) It Just Shows The Code Itself Instead Of Displaying The Phpinfo Page

Dec 19, 2010

I'm using fedora 14. And I have installed apache, PHP and MySQL. I tried testing PHP with phpinfo(). But when I view it view my browser (localhost/test.php) it just shows the code itself instead of displaying the phpinfo page. This is the content of my test.php page.

<?php
phpinfo();
?>

View 3 Replies


ADVERTISEMENT

Server :: Httpd2.2.15 Access To Localhost Test Page ?

Jun 13, 2010

Can't access localhost test page, but opens localhost page when I use full dns, at least from local network machines?

Running slackware13.1, Httpd2.2.15, 2wire gateway. Firewall web&http pinholes for ports 80,443. Port 80 is working.

Code:

Returns error:

Quote:

Code:

Code:

Added 4400host.net to Resolve DNS on 2Wire Gateway(Never had to do this before to access httpd test from same machine or network machine?

Changed HTTPD.conf

Code:

Code:

Quote:

"It Works!"

Never encountered this before, usually httpd test worked for "localhost" with minimal effort. I am concerned to procceed with this odd behavior. Has anyone else encountered this configuration is?

View 5 Replies View Related

Programming :: Script - Which Shows Https Page Source Code

Feb 22, 2010

I would like to download and show a source of an webpage in stdout, but this is a https page with authentication form, which requires logging in. I tried like this:

Code:
wget -q --no-check-certificate --http-user=USERNAME --http-password=PASSWORD https://webpage.domain.com -O - However, it still downloaded only this login page, not the real webpage. Using the Firefox I can authenticate just fine. Any ideas?

View 5 Replies View Related

Ubuntu Servers :: Can View A Php Page Only With Links Browser (a Text Browser) - Firefox Error "Content Encoding Error"

Jun 15, 2011

I can view a php page only with links browser (a text browser) But when i use firefox i got an error "Content encoding error"

View 4 Replies View Related

Software :: Unable To View Remote Hosts Details In Nagios Browser Page?

Sep 4, 2010

I have configured Nagios Server and Client on my RHEL 5.4 machines using these links and help html files in tar balls.

url
url

I have this scenario.

Nagios Server - 192.168.1.200
Nagios Client - 192.168.1.201 (This is the remote-host I am trying to monitor)

I firmly believe I have at least configured it right as this command on Nagios Server does not show any errors.

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
code....

View 8 Replies View Related

Ubuntu Networking :: Localhost Can Read Phpinfo() But Not Index.php?

Jan 7, 2011

Installed apache2 and php5, got the message "It works!" and phpinfo() displays the info page from withing the my folder. But when i put my index.php and rest of the files in www/mysite/ I only get a blank page displaying nothing, as if my php scripts wont parse. If I create a plain html "hello world" doc it displays that.. I've used this guide before [URL] and got it to work last time some months ago, but this time around after clean ubuntu reinstall it's showing nothing, remember I struggled with some permission things last time doing sudo chmod a+rwx /var/www/* and same for subfolders css and images. but now nothing happens, no errors or nothing. I didnt have to do enything else last time, no php.ini or nothing, it just worked, after I set permissions to get css and images to display correctly. Tried to put my files in www alone but dont work either (also cannot delete the default index.html in the www folder). Tried to restart apache2 and the computer, but no luck. My site also works online from other servers, so this is a local problem.

View 3 Replies View Related

Fedora Installation :: Whenever Load The Url Http://localhost In Mozilla It Shows A Page Load Error?

Aug 8, 2010

I have found that APACHE or 'httpd' is installed in my machine. But the problem is I can start or stop the httpd but whenever I load the url http://localhost in Mozilla it shows a page load error.I have done this ,

$ /etc/init.d/httpd start
then this
$ /etc/init.d/httpd graceful

[code]....

View 3 Replies View Related

Fedora :: Npviewer Segfaults - Firefox Sometimes Shows The Title Of A Page In A Tab But The Page Is Blank

Nov 23, 2009

On FC11 64 bit with Adobe flash plugin for Linux installed, I see segfault errors from "npviewer" in /var/log/messages. The only browser I have tried yet, Firefox, has glitches every now and then. Sometimes it shows the title of a page in a tab, but the page is blank. This can even happen when I try the Google main page. Is it true that npviewer has something to do with Adobe flash? Is there a way to fix the problem? If it is caused by Adobe flash, is there a different plugin that will replace Adobe flash player?

View 1 Replies View Related

Software :: Html And Php Editor That Supports Both The Design View And Code View As Like In Dreamviewer?

May 30, 2011

I have been working in macromedia dreamviewer for editing html and php files, Just now I moved to linux system by installing xampp , my question is that I need a best html and php editor that supports both the design view and code view as like in dreamviewer.

View 7 Replies View Related

Ubuntu :: Localhost Sites Not Displaying Right?

Sep 15, 2010

My local server isn't displaying images or proper css for my web pages. The pages display just fine on the webserver, but locally no images show, most of the css declarations aren't there and some of the php includes won't show on the page either. It's as if it's 10% working. All the files are in the right place. I changed directory permissions and tried restarting apache but that didn't help.

View 6 Replies View Related

General :: Localhost CD Test - Permission Denied

Sep 16, 2009

When I create a folder in the system, it's created successfully
Code:
[test@localhost localhost ]$ cd test/
-bash: cd: test/: Permission denied
drw-rw-r-- 2 test testinstall 4.0K Sep 16 18:51 test

View 5 Replies View Related

Ubuntu :: PHP Files Downloading And Not Displaying Page

Nov 19, 2010

When I try to load a php file my browser downloads the file instead of displaying the page. Here is my apache conf file.
#
# Based upon the NCSA server configuration files originally by Rob McCool.
# This is the main Apache server configuration file. It contains the configuration directives that give the server its instructions.
# See [URL] for detailed information about the directives.
# Do NOT simply read the instructions in here without understanding what they do. They're here only as hints or reminders. If you are unsure consult the online docs. You have been warned.
# The configuration directives are grouped into three basic sections:
# 1. Directives that control the operation of the Apache server process as a whole (the 'global environment').
# 2. Directives that define the parameters of the 'main' or 'default' server, which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings of all virtual hosts.
# 3. Settings for virtual hosts, which allow Web requests to be sent to different IP addresses or hostnames and have them handled by the same Apache server process.
# Configuration and logfile names: If the filenames you specify for many of the server's control files begin with "/" (or "drive:/" for Win32), the server will use that explicit path. If the filenames do *not* begin with "/", the value of ServerRoot is prepended -- so "/var/log/apache2/foo.log" with ServerRoot set to "" will be interpreted by the
# server as "//var/log/apache2/foo.log".
#

View 7 Replies View Related

Ubuntu :: Directory Not Displaying In Web Browser?

Nov 16, 2010

I have a LAMP environment on Ubuntu 9.04 desktop. I created a directory in /home/user that I use for all my development work called /projects.

I am able to access this directory via localhost/projects as the URI in my web browser; I see a listing of all the separate directories and I am able to click on each directory and see its contents.

Parent Directory
Site-Structure/ 30-Aug-2010 11:39
builds/ 03-Sep-2010 00:02
d6/ 12-Nov-2010 13:25
d7/ 31-Oct-2010 17:44

[Code]....

I have default, default-ssl and projects in my /etc/apache2/sites-available directory. I haven't changed these files since I first created them. I haven't changed the permissions on any of the directories within /home/user/projects since I first set this up.

What can I do to access this directory from the address bar of a browser again?

View 4 Replies View Related

Ubuntu :: Localhost Page Cannot Be Displayed

May 2, 2011

I've tried untinstalling and reinstalling the package for ampache.

I still cannot get localhost/ampache to display in my browser. I can't even get localhost to display in my browser. I've tried checking around in config files to see if i have ports open for listening. (i'm a noob at all of this)

My router has the port open that i specified. on code - service apache2 start i get:

(..Address already in use: make_sock: could not bind to address 192.168.1.65:8000
no listening sockets available, shutting down

I can't find any other config files. I don't know what else to do with the amapche installation. (which included an install of mysql-server package, even tho i NEVER got a prompt to enter in root passwd for the mysql db.)

Currently using dhcp.

View 1 Replies View Related

General :: Php Programs Errors Not Displaying On Browser

Feb 8, 2011

i have installed fedora14 on my system, while running the php programs errors are not displaying on the browser. display the error while running on the browser at localhost.

View 2 Replies View Related

General :: Prevent Displaying Image On Web Browser?

Sep 7, 2010

how to disable displaying image on web browsers. Example I have a link [URL].

- when I connect to this link on my browser, it will not display the image

- But I can use <img src="/img/test.jpg" to websites can read it.

View 9 Replies View Related

Ubuntu :: Websites Not Displaying Correctly On Firefox Browser

Jan 10, 2011

I have been having some issues with the browsers, I use firefox and I have noticed that many of the websites I visit don't display correctly. I have attached some examples..not all sites display like that but many do.

View 2 Replies View Related

Server :: How To Setup Open Xampp Localhost Page

May 17, 2011

I have worked with xampp on windows. Its my first time with Red Hat Enterprise Linux 5 .

Problem Is In My company we have redhat entprise 5 and its running well with samba server for our intranet. I wants to upgrade the intranet by using joomla. Problem is i have installed the xampp succesfully but when i type [url] it still opens our old intranet's homepage.

View 2 Replies View Related

Debian Multimedia :: Iceweasel Page Rendering - Not Displaying Portions Of Pages Properly ?

Jun 10, 2011

I guess this is a part deux, since I already posted one rendering issue which was eventually resolved ... having to do with the themes of this Debian Forum. Well, I don't know if this is related to that, but yesterday I noticed on another site that my Iceweasel 4.01 is not displaying portions of pages properly. See attached images. Both Chrome & Opera display that page correctly, I've included a screenshot of the same page with Chrome. I have JAVA installed and everything works perfectly fine accross the board on all browsers, except for this "once in a while" issue with Iceweasel. I've noticed this "missing content oddity" on three sites so far (out of 50 or more). No problem with eBay, craigslist, paypal, and other major players.

Open the images with a new tab, then compare both images side by side for best results.
Iceweasel: [url]
Chrome: [url]

View 14 Replies View Related

General :: Install The Main Page For Displaying The Structure Info Of Host_ent And In_addr?

Jul 17, 2011

user@ubuntu:~/Documents/C$ man host_ent No manual entry for host_ent How to install the manpage for host_ent or in_addr under ubuntu?

View 1 Replies View Related

General :: Apache Test Page Help

Aug 11, 2011

I am trying to set up a web page for the business and we have had the website or domain for a while but no one has put anything on it. I have never done anything like this before so i typed in the website and got the apache test page saying that i should add this: /var/www/html/

1) i'm not really sure what to add it to
2) i've tried adding it to the website url and that comes up with invalid page
3) could someone please explain in simple terms how i can get on to the webpage so i can start adding content to it?

View 1 Replies View Related

General :: Send Mail To Localhost (ubuntu Server) But When View In Log File

Aug 1, 2010

Could someone check this for me? I tried to send mail to localhost (ubuntu server) but when i tried to view it in log file, it gave me this:

Code:
xanios@ubuntu:~$ tail -f /var/log/mail
tail: cannot open `/var/log/mail' for reading: No such file or directory
tail: no files remaining
in my /etc/postfix/main.cf:
Code:
myhostname = ubuntu
alias_maps = hash:/etc/aliases

[Code]...

View 1 Replies View Related

Ubuntu :: Mozilla 3.6.6 - Logging Into GoDaddy Account Keeps Displaying The Login Screen And Not My Accounts Page

Sep 7, 2010

Since I have upgraded to Lucid (and thus to Mozilla 3.6.6), I am experiencing a bunch of annoyances with Mozilla.

1) logging into my GoDaddy account keeps displaying the login screen and not my accounts page (yes, I checked the password)
2) creating an account in bugzilla resulted in an "Invalid OpenID transaction" error message instead of a confirmation page
3) the [URL] page popped up a parser error instead of the website.

Midori and Mozilla 3.0.8 work just fine. Does anybody else have problems with mozilla 3.6.6 and above?

View 3 Replies View Related

Fedora :: Test Page For Apache Just Blank

Jun 12, 2011

I had installed and checked lamp stack last night but today when I type http://localhost the fodora test page for apache didn't come up. It is just blank. I had also configured apache to load after every boot.

View 14 Replies View Related

OpenSUSE Network :: Print The Test Page Nothing Happens

May 7, 2011

I just installed openSUSE 11.4 on my 2 home machines. My home network lies behind a nat router but I still use the external zone setting for my firewalls. In the past to enable network printing between the two computers I opened TCP and UDP port 631. Yast would then see the remote printer, set it up and all was good. This time Yast sees and sets up the remote printer as usual. When I print the test page nothing happens. Checking the cups admin page at localhost:631 on the host machine shows the printer is set up to share but nothing is in the print que. Printing works just fine on the host computer.

View 2 Replies View Related

Ubuntu :: Can Print Test Page But Not Documents?

May 6, 2010

I know my driver works and that cups is up and running, because I can print off test pages to my heart's content, but I can't get any actual documents printed. I'm connected over the network at work to a Japanese NEC MultiWriter 3650n (it seems to be Japanese-only---I could find on drivers was in Japanese). It shows up in System=>Administration=>Printing. I set it as the default printer, and, as I said, it prints off test pages without a hitch. But whenever I open, say, a PDF and try to print it, the document appears to get sent, but never actually prints, and never shows up in the print queue (while the completed test pages do).

View 9 Replies View Related

Ubuntu :: Print The Test Page (or Anything Else), Nothing Is Printed?

Oct 20, 2010

I installed my epson stylus tx420w through cups web interface. I used the PPD file provided by the driver recommended in linuxprinting.org.But when I try to print the test page (or anything else), nothing is printed. According to the diagnostics, the printer status is "Processing page 1...", but it won't go beyond that.I've already tested it, it's fine. But won't work in ubuntu. Don't know what's going on.

View 5 Replies View Related

Fedora Servers :: Access Localhost Through Browser After Installing PhpMyadmin

Jan 30, 2010

i have fedora 11 installed in my laptop and apache server by default. after starting httpd and mysqld services i was able to access localhost through browser.(e.g. [URL]). before installing phpMyAdmin everything goes right. after installing phpMyAdmin it created problem in localhost. now typing [URL] it opens joomla site but without images and without intending of content. when i type [URL] in browser it ask for user name and password. i already provide user name(root) and password(my_root_password) in /etc/phpMyAdmin/config.inc.php. but it doesnt open.

View 1 Replies View Related

Ubuntu Networking :: Vista Prints Test Page But Nothing Else?

Oct 18, 2010

I've installed Ubuntu 10.10 on an old box to use as an office print/fax and file server. I tried the server edition but I had no chance with command line programming so I've just used normal Ubuntu.

Ubuntu itself is working fine and I've installed my HP Officejet printer and it's fully working on the Ubuntu box. SAMBA and CUPS are installed.

I've then added the printer onto my Vista machine and here's where the fun starts. The Vista box sees the printer on Ubuntu, adds it with no problem and happily prints test pages, but I can't get it printing anything else.

I can't for the life of me find any reason why it would print a test page, but not print from Word, adobe or even a browser.

View 3 Replies View Related

Ubuntu :: Network Printer Install - Can't Get The Test Page

Feb 21, 2011

I have set up a local server running 10.04. I have cups installed and running. I can access the server via 192.168.28.200:631 webapoge. I can print test pages from that site. But when I try installing the networked printer on a client, the printer will install but I can't get the test page to print.

View 1 Replies View Related







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