Server :: Apache / PHP - Getting Blank Page In Browser
May 8, 2010
I have created a php page with only
PHP Code:
<? php echo "OK"; ?>
in the code. When I go to that page in a browser, I get a blank page. Is that normal, or am I suppose to see the word "OK" displayed in a browser? When I became curious, I open up Wireshark to capture the packets, I see that my server is giving out a "HTTP/1.0 500 Internal Server Error".
Here's the entire tcp stream:
Code:
GET /services/test.php HTTP/1.1
Host: 192.168.1.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 .....
View 6 Replies
ADVERTISEMENT
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
May 20, 2010
Today, the power was suddenly cut off in my house, then my home Ubuntu Server restarted after the power on, but when I use my laptop to view my wesite, the index.html suddenly became blank page, I did clear the firefox cache, doesn't work, still blank, and I changed browser, to seamonkey, the index.html still was blank, so, I am sure that the problem is coused by the server, and then, I put the index.html file to a subdirectory, which under the /var/www/home/index.html, and then I put the address < [url] > ,then,I can view my website the main page index.html.
View 2 Replies
View Related
May 10, 2010
I was trying to have access from a browser to the squirrelmail configtest page in my server, making some changes, I accidentaly remove the directory webmail. After I replace it with a backup apache2 can not start. This is what I have. Syntax error on line 281 of /etc/apache2/apache2.conf: Syntax error on line 1 of [URL].. closed. But I am sure there is a ?> at the end of this file.Base on what I read on [URL]...-with-the-tag/ I test without the ?> also, but I got the same error.
View 2 Replies
View Related
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
Mar 18, 2010
I run Linux RedHat and want to find out how can I replace the standard Apache 503 error page with my own? This is my configuration in the httpd.conf file for error pages. Can I just edit the HTTP_SERVICE_UNAVAILABLE.html.var in /var/www/error directory and replace the content with my own , or how can I accomplish my goal?
View 3 Replies
View Related
Aug 12, 2010
I have a domain, dns hosted, and apache serving up pages. this all works fine, so far. i even have a cms running. my confusion starts when i try to host a different site under a subdomain, ie. sub.mydomain.com.i have two vhosts in apache. one is mydomain.com and the directory is /var/www/mydomain.but, when i try to add another vhost like webmail.mydomain.com, and i try to put the root directory in /var/www/webmail, it doesn't work. when i try to access webmail.mydomain.com, i just get the site on mydomain.com.I feel like i am just missing something really simple here, but i have tried searching around for solutions to no avail.
View 4 Replies
View Related
Apr 3, 2011
quesiton is how I can redirect http://www.thispage.com to http://my.page.com and still retail displaying http://www.thispage.com.The issue is if I point in httpd.conf to directory where my.page.com it doesnt work because it knows it address.
View 4 Replies
View Related
Jan 19, 2011
Been a very long time since I have played with Linux.Now in a new position and have setup a Nagios server running on Centos 5,5 for a NMS.How do I set apache that when I visit: whatever.org it starts Nagios.. Currently I have to go to whatever.org/nagios.
View 9 Replies
View Related
Dec 13, 2010
Im using fedora 8 and have installed php5 ,and mysql and i see only php blank pages ,some idea? must be php.ini, but i am newbie installing php and apache, i disabled selinux, and grant all the permisssions to excecute..
View 3 Replies
View Related
May 12, 2010
I'm moving an office intranet server to a new machine running CentOS 5 with apache 2.2.3. Everything worked fine on my old CentOS server and nothing new or fancy being tried on the new machine: default server, no name virtual hosts etc.. However, on the new server I can only see the index.html page when I browse to it. Index.html is a frameset which calls other pages to load from subfolders to /var/www/html. The frameset loads but in each frame I see "The requested URL /hot_stuf/data_colm.html (etc.) was not found on this server.".
View 3 Replies
View Related
Jan 18, 2010
I have an access database and I would like to build a website on the slackware 12.2 server running apache 2.11.14 to let users query data from the MS Access database. I am thinking that I could just do it in jscript and make a jdbc connection and that should be good. What do you guys think.
View 2 Replies
View Related
Aug 9, 2010
I am now using CentOS5 as the server providing Apache services. I have managed to setup the web page under /home/user1/public_html, now I wish to change the default web page of our server to /home/user1/public_html. i tried to modify httpd.conf, in which i changed the "/var/www/" to the above user directory, but didnot work. Please kindly suggest.
View 9 Replies
View Related
Nov 15, 2010
i'm setting up apache on 5.3. i can access the apache test page without a problem from the server via URL... But i can't figure out how to access this page from another computer within the domain (for when i upload my home page.
View 4 Replies
View Related
Nov 9, 2010
I'm trying to figure out if it's possible to configure apache or any other linux http server, to allow the visiting user to start applications installed locally on the http server and get the GUI of that application displayed in a java applet (or any other similar solution). In short, I'm looking for an alternative solution to proprietary technologies such as Citrix and Microsoft Remote Access Gateway.
View 3 Replies
View Related
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
Feb 1, 2010
I am running 9.10. I have a HP Photosmart 7350 printer. I have it installed and printing. But the issue I am dealing with is that it will print a full page and then print a blank page..then a full page..then a blank page. Actually they aren't completely blank..it shows half of "2 of 6" or whatever page it is on. Like it cuts that in half and prints the 2nd half of "2 of 6" onto a separate new page.
View 2 Replies
View Related
May 16, 2009
I am using following software on my web server:
RedHat 2.6.18-92.1.10.el5
Apache/2.2.3
Coldfusion 8
My webserver accesses a backend mySQL server using CentOS5
The last week, I have been getting a "page Load Error" on my web server whilst others told me they are getting a "broken link" error when they try to access my web site. It has been working fine for the last 12 months until last week.
ADSL, modem and router okay according to service provider (verizon)
I can ping my IP address and my domain name.
# netstat -tap
shows http and https both processes running.
# service httpd restart
no issues
I shut down firewall and tried again, but got the same "page load error".
View 3 Replies
View Related
Dec 1, 2010
I can't log to any page using Lynx browser, what I see is "403 Forbidden" message everywhere. I think it has sth to do with User-Agent field, I tried both "Lynx..." and "L_y_n_x...", but also "Opera", "Mozilla" etc., but that doesn't help. It could also be related to cookies, but I accept all cookies the browser asks me.
View 2 Replies
View Related
Apr 16, 2010
Freeze browser wait for end of loading URL datausing Namoroka firefox 3.6.4pre Ubuntu/9.10 karmicproblem started app 2-3 weeks ago, same time working on JAVA update.JAVA test OK .most download locations seems to freeze or not complete loadingonly forced close/reset af browser is helping.how to find the change causing this?
View 1 Replies
View Related
Sep 24, 2009
I've installed CentOS 5.3+ xampp 1.7.2 (apache,proftpd and php5) +postgresql 8.4. And some strange errors appear from time to time, but can't reproduce it by wish. For example client opens a webpage on CentOS, the page can be open many times, but in some moment browser gives error as for non-existing page and when I check lampp's logs, there is only a record in error_log "[notice] child pid NNNN exit signal Segmentation fault (11)".
Or another example: client opens ssh-connection and ftp-connection. When ftp-connection got timed out and server closes it, ssh-connection unexpectedly gets closed the same moment without any errors in logs. And again it happens not everytime, but cannot be related to physical network because the same server on the same network with Fedora never had such errors. Possibly xampp-1.7.2 is not too compatible with CentOS 5.3? How to get more info from system in this case?
View 1 Replies
View Related
Jun 12, 2011
Whenever i try to veiw any file in nano through commandline by nano -w <file> it doesnt show my any data on that page it just open up a blank page bt when i installed it ie lst night it was showing the data of the file properlly now whats wrong with hat nano ?
View 7 Replies
View Related
Mar 11, 2010
When using gt5 in various directories on my system (including my home directory) I get blank results.
If I limit the max-depth enough, I get results. For example, in my home directory 'gt5 --max-depth 2' produces a listing, while 'gt5 --max-depth 3' produces a blank page.
I've noticed that the temporary html file that gets created in tmp (such as '/tmp/gt5.9035.kJVM08Y9/gt5.html' is a zero-byte file.
I can successfully do a du in the same directory (which is what I thought gt5 was using), so I'm not sure what to check?
View 1 Replies
View Related
Aug 18, 2009
I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?
NOTE: apache have the privileges to execute the command
View 7 Replies
View Related
Mar 2, 2010
I am fairly new to Red Hat. I installed it yesterday but i cannot login as root in the webadmin login page. I entered my root username and password and it just seem to sit there forever and after a while it displays a blank page. I verified that all the necessary services have started. I have been troubleshooting this since yesterday with no luck.
View 6 Replies
View Related
Nov 25, 2010
I'm trying to blind deluge torrent to port 80 but as I'm running already a server on this port, I've decided to use the ProxyPass option in a vhost. As I prefer running through HTTPS, I've used my vhost 443 that I already use for bind AjaxTerm (SSH with a web interface)
But whereas AjaxTerm works, Deluge doesn't...I only get a black page but the tab name is correct (ie, Deluge: Web UI 1.3.1)
Here is my vhost
Code:
<VirtualHost *:443>
SSLEngine On
SSLCertificateFile /etc/ssl/private/localhost.pem
ProxyRequests Off
[Code].....
View 1 Replies
View Related
May 24, 2010
I finished deploying work for my web server with Ubuntu 10 lts, everything testing is pass, only the php file issue, I put a testing php file in the /var/www/testing.phpbut I open a firefox, and then I saw a blank page, I am sure that Apache read the file, but why return a blank page in browser,
View 9 Replies
View Related
Jan 11, 2011
Writing this from the windows box since my problem is php pages display blank in any web browser on my kids computer running 10.10. and the forums are php based.All the threads I have seen are from people with a local apache server and php server running. This is just a workstation and nothing server like installed (well not apache or php anyway)so everything I have found tells me to check config files that of course are not there.Anyway since his favorite web game is php based he is currently a bit upset. It did work when I initially installed 10.10 on a full flatten and reload.
View 2 Replies
View Related
Nov 17, 2010
I downloaded the OS I wished to use, loaded it onto a clean 4.0GB drive, everything went as planned. But then I rebooted, and it never booted the file off of the USB. So, I changed the boot options, and tried it again. Now, every time I boot with the drive in, it goes normally and then opens a blank page with only one line of text detailing the date of copyright, something about Linux, etc... And a blinking cursor. Is this normal and I just have to wait for it to load, or is something not being processed? Any information you guys need I can obtain, I'm not new to computers but I am new to changing OS's.
View 1 Replies
View Related
Jan 3, 2011
My screen goes blank for few minutes during booting to print the login page.
When I press ctrl+alt+f1 it shows and hangs at
Enabling /etc/fstab swaps
I show below the output of some commands:
[root@ws-test ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 76G 55G 18G 76% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda3 56G 34G 20G 64% /hdd-1
[Code].....
View 2 Replies
View Related