|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > No HTM files parsed ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|