Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old September 13th, 2002, 12:13 PM
nick indy nick indy is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 2 nick indy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
apache and forcetype problem

hello,

I am using the article URL

and it works. I mean the related database arrays are loaded and printed on to the screen...

BUT...

The force type tells it is an php file it is accessing.

And in fact it is accessing a html file containing a small piece of php code (just to display the data from the database)

the problem is...
It doesn't display my html related images anymore. The file doesn't seem to find them. Nor does it load the extern css script anymore.
It only does this if I type:
URL

but as soon as I type

URL

everything is shown. Exept offcourse my database related stuff because no arrays were given in the url.

Can You please help me.

I am running apache 1.3.20 and php 4.2.2 on a win98 system
the images and the stylesheets are in a subdirectory of the root.
URL
URL

My php is working as a apache module.

Thanks.

Nick

Reply With Quote
  #2  
Old September 13th, 2002, 09:13 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Quote:
And in fact it is accessing a html file containing a small piece of php code (just to display the data from the database)


wrong, a php file is a php file. lets not confuse the issue

if your images arnt working, try using the full url. remeber if you have your file like this

URL

and your image dir is located at

URL

then when you select an image, it should look like this

<img src="images/imgname.gif">

or

<img src="/images/imgname.gif">

Reply With Quote
  #3  
Old September 14th, 2002, 01:27 PM
nick indy nick indy is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 2 nick indy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I know all this

Yes I know a Html is different from a php file.
And yes I know how to display images with the img tag
And I am using both all the time on one and the same page.
Partial html and partial php.
NO PROBLEMS. NEVER.

BUT

As soon as I use the Apache forcetype method =>
PROBLEM!!

The databaseresult is perfectly shown. But all the html refs to images and styles do NOT work.

if I use: URL
NO PROBLEM => everything is perfect

but If I use the force type method:
URL
I get those erros.

What can I do?

Reply With Quote
  #4  
Old February 19th, 2003, 03:34 PM
Kicko Kicko is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 2 Kicko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy I have the same problem...

Please, do you know solution of this problem??

Reply With Quote
  #5  
Old February 19th, 2003, 05:27 PM
FRiZzZo FRiZzZo is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 1 FRiZzZo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm sorry that I can't answer your question. I do have a problem though that maybe you can help me with? Im pretty new to all this heeh

I did this tutorial and just changed it from soccer to hockey.

Now when I input a players name with in the url it doesn't pull it up because it adds %20 in the url and it searches the database for this.

example

hockey is the php file
bears is the team name
kuan chi is the player name.


Code:

When I type this

URL chi

it comes up with 

Player kuan%20chi doesn't exist in the database.

I went and added a player name "kuan%20chi" and tried it again
and voila a record popped up but wouldn't want to have to add %20 in there.  

So now when I type it 
URL chi

comes up with this because I added kuan%20chi as player name exactly.

results.
Statistics For kuan%20chi
Player ID: 12
Salary: $35,000.00
Age: 29
Team: bears
Position: Forward

Please let me know if I make sense

Thanks again.

Reply With Quote
  #6  
Old October 3rd, 2004, 06:03 PM
twizm twizm is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 3 twizm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sorry if this is a stupid question, but, where is the entire code?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > apache and forcetype problem


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 6 hosted by Hostway
Stay green...Green IT