Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmwiedemann/modphperl
embed perl scripts in web-pages like PHP
https://github.com/bmwiedemann/modphperl
Last synced: 17 days ago
JSON representation
embed perl scripts in web-pages like PHP
- Host: GitHub
- URL: https://github.com/bmwiedemann/modphperl
- Owner: bmwiedemann
- Created: 2017-01-22T06:13:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-22T06:25:11.000Z (almost 8 years ago)
- Last Synced: 2024-11-20T09:26:21.931Z (about 1 month ago)
- Language: Perl
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
modphperl allows you to embed perl scripts in web-pages in the style of PHP
## INSTALL
# example for openSUSE
zypper install apache2-prefork apache2-mod_perl
a2enmod perl
mkdir -p /srv/www/perl-lib/modphperl/
cp -a handler.pm /srv/www/perl-lib/modphperl/
cp -a test.perl /srv/www/htdocs/
edit /etc/apache2/default-server.conf # or /etc/apache2/vhosts.d/foo.conf to add
AddHandler perl-script .perl
# or SetHandler perl-script to handle all file extensions
PerlHandler modphperl::handlerservice apache2 restart
curl localhost/test.perl