logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Coding & Scripting Corner View previous topic :: View next topic
Reply to topic   Topic: How to view a highlited source code on output browser
Author
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: 7373
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


Reply to topic   Topic: How to view a highlited source code on output browser View previous topic :: View next topic
Post new topic   Forum Index -> Coding & Scripting Corner