2024-03-12 10:43:07 +00:00
|
|
|
<VirtualHost *:80>
|
|
|
|
DocumentRoot /usr/local/apache2/htdocs
|
2024-04-17 15:12:46 +00:00
|
|
|
|
2024-06-18 11:00:10 +00:00
|
|
|
RewriteEngine On
|
|
|
|
RewriteMap mymap prg:/usr/local/apache2/htdocs/redirect.pl
|
|
|
|
RewriteRule ^/image/catalog/(.+)$ ${mymap:$1} [P]
|
2024-04-17 15:12:46 +00:00
|
|
|
|
2024-06-18 11:00:10 +00:00
|
|
|
<Proxy *>
|
|
|
|
Require all granted
|
|
|
|
</Proxy>
|
2024-04-17 15:12:46 +00:00
|
|
|
|
2024-06-18 11:00:10 +00:00
|
|
|
<Directory "/usr/local/apache2/htdocs">
|
|
|
|
Options Indexes FollowSymLinks ExecCGI
|
|
|
|
AllowOverride All
|
|
|
|
Require all granted
|
|
|
|
AddHandler cgi-script .pl
|
|
|
|
</Directory>
|
|
|
|
</VirtualHost>
|