Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

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:
  #1  
Old February 4th, 2002, 08:39 AM
ron273 ron273 is offline
PHP-addict
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Netherlands
Posts: 48 ron273 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 m 28 sec
Reputation Power: 8
No HTM files parsed ?

Whenever I try to load an *.htm file on my local server it says:

The requested URL /parser/parser.php was not found on this server.

This doesn't happen with php, php3 or html files and it used to parse htm-files correctly.
What's wrong ?

I have Apache 1.3.22, php 4.0.6 and MySQL.

Thanks,

Ronald
__________________
"Yes dear, I'll come to bed in a minute"
R. Smit
http://www.rsdev.nl

Reply With Quote
  #2  
Old February 4th, 2002, 08:47 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
1) Show us only the lines beginning with AddType, AddHandler and ErrorDocument.
2) Then the full server path to that parser.php file and to your docroot.

Reply With Quote
  #3  
Old February 4th, 2002, 09:06 AM
ron273 ron273 is offline
PHP-addict
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Netherlands
Posts: 48 ron273 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 m 28 sec
Reputation Power: 8
Here they come:

AddType application/x-httpd-php .php .php3
DocumentRoot "G:/Apache/htdocs"
AddHandler cgi-script .cgi .pl
AddType text/html .shtml
AddHandler server-parsed .shtml
AddType application/x-httpd-parse .htm
Action application/x-httpd-parse "/parser/parser.php?file="

Path to parser.php:
g:\Apache\PHP\pear\XML\parser.php

By the way, I run W2k as webserver

Thanks,

Ronald

Reply With Quote
  #4  
Old February 4th, 2002, 09:11 AM
ron273 ron273 is offline
PHP-addict
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Netherlands
Posts: 48 ron273 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 m 28 sec
Reputation Power: 8
Ok,

Call me stupid !!!!!

Writing down the last these lines:
AddType application/x-httpd-parse .htm
Action application/x-httpd-parse "/parser/parser.php?file=" ,

I realised that I need to comment them out again. It was left after an (unsuccesfull ) attempt to show syntax highlighted html files.

Ik works again,

Thanks for the pointer,


Ronald

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > No HTM files parsed ?


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