Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 26th, 2005, 04:51 PM
ocelot_revolver ocelot_revolver is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Location: mexico
Posts: 3 ocelot_revolver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 30 sec
Reputation Power: 0
Question Apache help

hi
im having trouble hosting webpages with frames in linux and apache 2.x. I use the same webpage in windows with apache too and it works fine its not the web browser cause i use the same to open both pages and one does display the frames and the other dont (linux hosted page)
i dont know what the problem is
is the same webpage and the same version of apache just that one is in windows and the other in linux

any ideas???

Reply With Quote
  #2  
Old September 26th, 2005, 05:08 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,299 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 1 h 54 m 17 sec
Reputation Power: 760
Frames are part of HTML markup and as long as they're both being served as HTML, then the server should have nothing to do with this.

What exactly is the problem?
If it doesn't display frames then what does it display?
Can you view a non-frames page?
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
  #3  
Old September 28th, 2005, 05:16 PM
ocelot_revolver ocelot_revolver is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Location: mexico
Posts: 3 ocelot_revolver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 30 sec
Reputation Power: 0
apache under linux

ok the problem is that i cant view webpages with frames when the page is hosted in apache under linux

with windows works fine here is the code

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>myframes page</title>
</head>

<frameset rows="325*,155*" cols="*" framespacing="0" frameborder="yes" border="1">
  <frame src="somepage.php" name="topFrame" >
  <frame src="someotherpage.php" name="mainFrame">
</frameset>
<noframes><body> <?php header("Location:" . "somepage.php?noframes=true") ?>
</body></noframes>
</html>

i use the header to redirect the browser to other page in case the web browser cant display frames

this code works fine under windows xp and apache 2.54
but in slackware linux and apache 2.54
the page redirects as if the web browser didnt support frames if i remove the header(bla, bla) it doesnt display anything thats why i put it there so user wont have to click on another link

Reply With Quote
  #4  
Old September 28th, 2005, 05:28 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,299 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 1 h 54 m 17 sec
Reputation Power: 760
You can't put a header() call there w/o it throwing an error unless you have output buffering on in PHP. So ..

What happens if you use regular HTML pages in your frameset?

Are you using the same versions of PHP on the two servers?

Do they have the same php.ini settings?

Reply With Quote
  #5  
Old September 28th, 2005, 05:38 PM
ocelot_revolver ocelot_revolver is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Location: mexico
Posts: 3 ocelot_revolver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 30 sec
Reputation Power: 0
Apache help

it doest not trhow any erros even if i have display erros in php configuration file

its php 4.40 for both plataforms

if i remove the header() it does not display anithing under linux and apache

in windows works fine thats why i posted here
i dont know what the problem is

i havent use regular pages like .htm but i just dont get it

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > Apache help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway