logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



How to view a highlited source code on output browser

 
Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner



View previous topic :: View next topic  
Author Message
orange_python



Joined: 24 Feb 2018
Posts: 5
Location: Russia

PostPosted: Sat 23 Feb '19 16:57    Post subject: How to view a highlited source code on output browser Reply with quote

If used code:
Code:
AddType application/x-httpd-php-source .php
Apache output a higlited code for php to web-browser. May Apache shows other higlited code for other syntax, eg: html, js, ... ?

What is module support this function?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6531
Location: Germany, Next to Hamburg

PostPosted: Mon 25 Feb '19 12:33    Post subject: Reply with quote

mod_php (php7apache2_4.so|dll) can highlight the source code of PPH files. mod_php is a third party module. Apache it self does not highlight any source code from files.
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner
Page 1 of 1