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


ADVERTISEMENT

Ubuntu Servers :: 9.10 Server Downloading PHP Files Instead Of Displaying Them?

Mar 17, 2010

I have an Ubuntu 9.10 server set up at my house. I have Apache2 and PHP5 installed on it. Every time I go to the server on a web page and try to load the PHP index page it downloads instead of displaying.

I have virtual servers set up and have the files stored at /home/cusinndzl. If anyone needs to take a look I can let them into the webmin panel.

View 4 Replies View Related

Software :: New Apache Install - Php Files Are Downloading Rather Than Displaying?

Oct 17, 2009

New apache install, php files are downloading rather than displaying, does anyone know whats causing this. When I compiled php with apxs it automatically added this line:

Code:

LoadModule php5_module modules/libphp5.so

I restarted apache, and also try adding this line:

Code:

AddType application/x-httpd-php5 .php5 .php4 .php

and then restarting.

View 2 Replies View Related

Software :: Downloading Files From A Password Secured Page?

Jul 13, 2011

For my project, I'm interested in the Scatterometer Products of Oceansat 2 from an Indian page [URL]

It's no problem for students to get a password to access and download their data for free. Nevertheless it's quite complicated to download the files by hand, since you have to mark every file by hand and click on a download button at the end of the page. When I tried it with my Script (which is below), and an internal server error 500 occured. I hope you're not too busy and could have a look on the script where the cookie and IP are entered manually for trial purposes.

The construction of the page is:
The adress, where you have to login:
http://218.248.0.134:8080/OCMWebSCAT...controller.jsp
The adress, when your're logged in:
http://218.248.0.134:8080/OCMWebSCAT...controller.jsp

[Code]....

View 3 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

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

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 View Related

Fedora Servers :: Copied The Web Page Files To Its Document Root <var/www/html> & Disabled The Default Web Page?

Jun 8, 2009

I have apache httpd server on my Fedora 10I got 2 problems:First : I copied the web page files to its Document Root <var/www/html> & Disabled the default web page. But when I visit http:/localhost ,it shows up the list of files in <var/www/html> as if a ftp server browsed in web page. So how can I set http://localhost load my default web page index.html ?Second :I want to set up a web server on Internet through my router . I applied for DDNS account & input it into router correctly . I set virtual host in server to redirect any access from port 80 to 192.168.1.2:80 in LAN . Just for in case , I also download and running the DDNS software & installed it on PC 192.168.1.2 in LAN . My DDNS provider is oray.cn . It's a Chinese server provider . I don't think there is anything wrong with oray.cn . But if you need its information just visit oray.cn (Google can translate it for you). So I want to know did I miss something to set up a web server in this kind of situation

View 2 Replies View Related

General :: Man Pages Not Displayed / Saying Formatting Pages And Then It Is Displaying Blank Page?

Sep 9, 2009

when i input man <cmd>.....it's saying formatting pages....n then it is displaying blank page.

View 6 Replies View Related

Ubuntu :: Desktop Is Not Displaying Files

Jul 4, 2011

My desktop is not displaying files that I put on the desktop days ago. I checked all four workspaces.All the files are still accessible from Nautilus > Desktop.When I drag a file icon (from Nautilus to the empty desktop) and release, the icon does not drop on the desktop, the icon quickly moves back to the folder where it came from.The top and bottom panels of the desktop still operate normally.I am running Ubuntu 11.04 64-bit with classic-Ubuntu desktop.I also noticed that Startup Applications is missing "chrome" that I added this morning.I am the only user on this system. The system is a duel boot Ubuntu - win7. The Ubuntu partition is formated ext4 and there is a separate NTFS-formated partition named "storage" for folders that are accessible from both Ubuntu and win7. That should not be an issue because the desktop folder is on the Ubuntu partition, /home/[user]/Desktop. I have not booted win7 in the last few days.The desktop first
appeared empty after I did two things:

1) installed CryptKeeper from Ubuntu Software Center
2) Enable Automatic Login

After I clicked Applications > System > CryptKeeper, the desktop did not respond to mouse clicks. I did not find any CryptKeeper instructions. I don't know how to use CryptKeeper.The login screen still asked for credentials after I rebooted.So I uninstalled CryptKeeper, disable Automatic Login, and rebooted. But the desktop is still not displaying the files.Could CryptKeeper have changed something in my profile?Does Ubuntu have a log file to see exactly what I did?What else can I try to restore my desktop and enable Automatic Login?

View 8 Replies View Related

Ubuntu :: IPod Touch Not Displaying Synced Files

Jan 11, 2011

after i solved the many other problems that plagued me as an early adopter of the new iPod touch, I took my freshly recovered device (iOS 4.1, on an ipod touch 4G) and tried syncing with Rythmbox and Banshee. It shows up on the GUI as a music player and a camera, I press sync on rythmbox or banshee and it works out. But when the sync is over and I look at my device I find no songs on there, but they're inside the itunes_control file in my ipod when I view the file contents from ubuntu.

I have succeeded in syncing with iOS 4.1 before, but an error forced me to restore my iPod. But that was when I had a jailbroken ipod with the DBversion changed to 2 as per many guides on the internet. But I thought all of these problems were solved with the new libimobiledevice 1.04.

View 1 Replies View Related

Ubuntu :: Not Displaying Folders And Files In Desktop After Starting The System ?

Aug 11, 2010

I dont know whats wrong with my desktop....but it is not displaying folders and files in desktop after starting the system.The mouse right click is also not working.But the panels are working.

But once I browse files on my cell phone(using bluetooth) with my system,the desktop is working as usual.

I think I have to add some application( which loads desktop) to list of start-up applications.

View 2 Replies View Related

Ubuntu :: Evince Is Somehow Screwing Up Font Creation When Displaying Dvi Files

Mar 26, 2011

1. Evince is somehow screwing up font creation when displaying dvi files. I can preview the dvi file fine under xdvi. When I try with evince, I kicks off a slew of metafont font-creation runs, then shows me totally garbled pages -- the layout is correct, but none of the characters are right. This happens for documents that primarily use Times Roman fonts.

2. *Every* time evince comes up, it insists on starting in continuous / "fit page width" mode. I don't want either one. I want continuous-mode*off* and the window in the "best fit" view. So I have to click, drag, click, click, drag, release *every* time I pop up a file. It's very annoying. There doesn't appear to be any key in the gnome gconf config database I can set to affect these things. How do I fix this?...

View 1 Replies View Related

Ubuntu Multimedia :: Files On Video Camera Stopped Displaying On Computer

Nov 12, 2010

We've bought a cheap video camera for our son to make a movie. Files are stored on a 16Gb SD disk. When we first used it a week ago I was able to connect the camera via USB and copy the files to my laptop. Today I went to clear some more files to make room for shooting the movie and nothing shows up when the camera is attached to the laptop. I can view the files on the camera so they do exist.

I have tried:Using different usb ports Using a different computer Using an SD Card Reader on both computers Investigating permissions via terminal (the camera seems to be set to RWX Checking that no one has played with the settings on the camera Nothing has changed on the camera or the laptop as far as I can see and yet the files are not showing up.

Camera Model: HD-C2 2.7" LCD 12MP
Ubuntu Version: 9.10 Karmic Koala

View 4 Replies View Related

General :: Alias For Changing To Directory And Displaying All Files

Jul 4, 2011

I'm trying to setup an alias, that when I change to another directory, any directory, it will also display all its contents like ls -al:Well, that doesn't work. I guess it's an issue with the use of wild-cards.Maybe I should define a new, so far unused, name for the alias like cdl for example.Would be great if someone could help me. I search in several examples for bash aliases but couldn't find the right solution.

View 9 Replies View Related

Ubuntu :: What Msg Files Are / How To Stop Them From Downloading

Nov 14, 2010

I've been using PAN for quite some time - recently installed 0.133 from the Ubuntu software centre. Worked fine for a while, no issue. Then, a week or so, it started downloading .msg files in company with the binary files I was getting. Sometimes one .msg file for one binary, sometimes quite a few. It seems to have some correlation to the size of the binary, that is the larger the binary, the greater the number of .msg files were downloaded.This morning, it would ONLY download .msg files. I could see the decoded binary in the PAN viewer pane, but it isn't present on my system. I have made NO changes to any configuration files, other than installing the recommended updates.

How do I correct this?Can anyone tell me what these .msg files are, and how to stop them from downloading?Are there as-good or better newsreaders out there that I can/should try?

View 3 Replies View Related

Ubuntu :: Remotely Downloading Files Through SSH

Mar 27, 2011

How to set up a script to log on to a server through SSH, copy file from the server to the local machine, and then run a script on the downloaded file. More specifically, I've got a minecraft sever that is run on ubuntu.

I know that I can do
# ssh username@ipaddress
to log on to the server through the terminal.

After this it asks me for a password. Once I type in the password I have access to the directories on the server. How can I set up a script to log on to the server and enter password? Once I do this, how do I automate it to copy a file from that server to ~/Desktop? If I can do this, I have a script that will run from there.

I've learned that I can do
scp -r remoteuser@remotebox:/remote/directory /local/directory to copy files from a server to my local machine, but it still asks me for the server password. how do I make it so that the password is automatically entered?

View 2 Replies View Related

General :: Ls Command And Displaying Number Of Files In Current Directory?

Oct 15, 2010

What command will provide you with the number of files in your current directory?
Choose one answer.
A. ls -c
B. ls | wc -w (this one)
C. ls -n | count
D. ls -wc (this one ?)

View 5 Replies View Related

Programming :: Redirect The Output To Multiple Files Without Displaying It To The Screen?

Oct 26, 2010

To redirect standard output to multiple files:

Code:

echo Test | tee file1 file2

My problem is that the word "Test" still displays to the screen? I want same effect as:

Code:

echo Test > file1

but with multiple file redirection.

View 3 Replies View Related

Ubuntu :: Rssdler Not Downloading Torrent Files?

Feb 26, 2010

I'm trying to download Star Wars the Clone Wars torrents from two different feeds. The scantime below is temporary while I'm trying to get it to work. Will change it to 15 min later on.Below is the verbose output.

Quote:

INFO --- RSSDler 0.4.2
DEBUG writing daemonInfo
INFO [Waking up] Wed Oct 27 18:12:11 2010
DEBUG checking working dir, maybe changing dir

[code]....

View 2 Replies View Related

Ubuntu Installation :: Aptitude Downloading Files Simultaneously?

Apr 24, 2011

Ubuntu Lucid 32-bit desktop machine. I run "aptitude update" and "aptitude safe-upgrade" manually from the command-line regularly to upgrade my machine. I usually don't pay that much attention to the downloading, but I noticed yesterday that aptitude appeared to be downloading four files simultaneously, rather than the one at a time that I've always seen. Would this be correct? How can I change that? I can't say I've ever noticed it before.

View 3 Replies View Related

Fedora :: Scan Url And Downloading Files

Feb 1, 2011

I understand wget is used to download files. Is there a way I can search a url for what files are available for me to download. I need to install a plug-in from an adobe website.

View 2 Replies View Related

Programming :: Php Script For Downloading Files?

Mar 23, 2010

I want users of my website to be able to download files from it.

When they request a download, I would like them to see a window with the following attributes: ability to choose where downloaded file goes; progress of the download, and estimate of remaining time; a button to cancel the download.

There are hundreds of sites out there that do this, so obviously it's possible, but can it be done from a php script on the server? If not, does anyone know of a script in java(/script)?

I would also like to monitor when a download failed and succeeded, and if the failure was not because the cancel button was pressed, pickup whatever system information is available about the failure cause.

View 4 Replies View Related

Debian :: Apache Downloading PHP Files Instead Of Rendering

Aug 4, 2015

I have some scripts that need to use a newer version of PHP, Im running Debian 6 which has PHP 5.3.3 support, I found I could install php 5.4 using [URL]. This worked, it updated my PHP to a newer version, the only issue is that when the install completed apache now downloads the PHP file instead of rendering it.

Im guessing this has something to do with the Apache configs, but I don't know what to do.

Code:

Select alltom@vps:~$ dpkg --list |grep -E '(apache)|(php5-)'
ii  apache2                                  2.2.16-6+squeeze12           Apache   
HTTP Server metapackage
ii  apache2-doc                              2.2.16-6+squeeze12           Apache                                                                                                                   
[Code] ...

View 1 Replies View Related

Debian :: Ftpsync Still Downloading Old Files Despite Exclude?

Sep 6, 2015

I was thinking of migrating my apt-mirror repository to the recommended ftp scrips: [URL] .....

I pre populated my pool with already downloaded files, and setup the scripts.

However, if I run the bin/ftpsync, and monitor rsync with lsof -p, I can see that it is still downloading files from oldstable (wheezy) despite exclude options.

I'm guessing it's a configuration error, but I can't seem to figure it out. Any thoughts? My etc/ftpsync.conf is as follows:

Code: Select allMIRRORNAME=`hostname -f`
TO="/server_storage/srv/mirrors/debian"
RSYNC_PATH="debian"
RSYNC_HOST=ftp.us.debian.org
LOGDIR="${BASEDIR}/log"

[Code] ....

Actually, I don't think it works like I thought it did. A few guides I found listed the exclude options, but the sample config file has this:

Code: Select all## If you do want to exclude files from the mirror run, put --exclude statements here.
## See rsync(1) for the exact syntax, these are passed to rsync as written here.
## DO NOT TRY TO EXCLUDE ARCHITECTURES OR SUITES WITH THIS, IT WILL NOT WORK!
#EXCLUDE=""

So it looks like it doesn't exclude the suites at all.

View 5 Replies View Related

Fedora :: Keep On Downloading Tar.gz Files Into Downloads Folder

Sep 20, 2009

I keep on downloading tar.gz files into my downloads folder and i cant do anything with them. what i need to do to install the file so i can use it? An example, i am trying to install Frets on Fire, and am failing bad.

View 9 Replies View Related

General :: Downloading Very Large Files Via SFTP

Apr 1, 2011

I need to download some very large files (circa 75 GB) from a remote server via SFTP. I've been using SFTP via the command line on my Linux netbook. Around halfway through, the transfer stops and says "stalled." Can anybody recommend a reliable way to download these files?

View 1 Replies View Related

General :: Downloading Files With Same Directory Structure

Apr 8, 2010

How do I download all the files form here: [URL]. I am on freeBSD 7.0 and I tried wget with the -r switch and it gives me URL's only. Maybe this is simply not an ftp site I don't know. How I can download all those files with the same directory structure.

View 5 Replies View Related

Slackware :: Downloading AlienBOB's Multilib Files?

Feb 17, 2010

Is there an easy way to get all of the multilib files from [URL]? I've tried:

1.) wget - won't use wildcards on an http server, and trying to get the whole folder just gets me index.html

2.) ftp - it's not an ftp server and I can't login anonymously via gftp. I wasn't expecting this to work, it was just something else to try.

3.) rsync - If this could work, I may not be using the right syntax. I tried (-n for a dry run first):

Code:
rsync -avn [URL]

And it just sat there doing nothing until I hit ctl-c.

Obviously I could download each file from my web browser but I figured there had to be a more elegant Unix-y way without all the clicky-clicky. Are the files hosted on an ftp server anywhere?

View 5 Replies View Related







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