Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,17 @@ hello world
##### how does syntax highlighting work?

To get syntax highlighting you need to add the file extension at the end of your paste URL.

##### running it behind Apache httpd as reverse proxy
Add the following to your httpd.conf file:
```
LoadModule substitute_module modules/mod_substitute.so
...
<Location /bin/>
ProxyPass http://localhost:80/
ProxyPassReverse /
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s|action=\"/\"|action=\"/bin/\"|"
</Location>
```
It exposes bin on http://HOST/bin