Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The page cannot be displayed

Status
Not open for further replies.

ThomasJSmart

Programmer
Sep 16, 2002
634
Hello, i origionally started this thread on the apache forum ( thread65-489954 ), but there maybe someone here who knows something.

the problem is this:

iv just reinstalled my server at home with the following:
apache_2.0.44-win32-x86-no_ssl.msi
mysql-3.23.55-win
php-4.3.1-Win32
windows xp pro uk build 2600

i installed it all with the standard settings only changing only the neccesary.

localy ( for me: everything works fine. but externaly:

All my regular html/java/flash pages work fine

some of my php pages work:
(the news colums on the right is php / mysql, and the languages is done with a php include)

but the rest of my (more complicated) php pages dont work:
(a regular php info script)

what happens is that i get to see a brief glimps of the page befor i get a "The page cannot be displayed" error.

iv tested this on internet explorer only, but as it seems to be a server side problem i doubt this makes any difference. perhaps another browser would give a more specific error message... I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
my server = local server both the same :) I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
then i misunderstand the question maybe?

i am running a dns server, apache and php on my computer at home. the link is a link to a page that i am hosting at home on my computer. if i am at home and i type it goes to that same page on that same server because i have set my hosts file to point "inspired" to 127.0.0.1 and is thus parsed thru the same apache and php that everyone else sees when they try to visit one of my pages.

so then my server is the same as my local server isnt it? I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
You obviously don't have the same settings for the two sites if they behave in different ways. Go through all the settings and see what differs. //Daniel
 
Just to keep everyone happy, and since this is definatly a configuration issue, why don't you setup 'support.html' as support.php

Since you say you have no problems on the 'local' side but viewing from the 'net' is scewed w/ issues, it seems to me that your 'tweeks' may be the bulk of the problem.

Check your configurations, if you saved originals of your config files, you may want to archive your current and restore the orriginals and start slowly from the beginning.

(configure apache, set your directories, endure they view properly, then php etc etc etc)
 
You obviously don't have the same settings for the two sites if they behave in different ways. Go through all the settings and see what differs
how is this possible if its the same software / config files / documents? you are calling it 2 sites, but it isnt it is only 1 site being viewed from 2 different places.

Apache works fine, every non html page works fine, and most simpel php commands like "get simpel text from database and show" and "include language file with lots of vars and show" work fine its just complicated php that doesnt work properly. I dont see how this has anything to do with whether its a html or php file being parsed. php doesnt care about this as long as its set in the apache conf. but for the sake of argument:


(still doesnt work)

im gonna go start from scratch, ill update here when done...

thanks,
Thomas I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
well with apache 1.3 and the php sapi 4.3 everything seems to be working fine

thomas I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top