Smaller fixes
This commit is contained in:
29
etc/apache2/conf.d/tftpboot.conf
Normal file
29
etc/apache2/conf.d/tftpboot.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
Listen 6970
|
||||
<VirtualHost *:6970>
|
||||
DocumentRoot "/tftpboot"
|
||||
ErrorLog /var/log/httpd/tftp.error.log
|
||||
CustomLog /var/log/httpd/tftp.access.log combined
|
||||
|
||||
<Directory /tftpboot>
|
||||
Options FollowSymlinks
|
||||
AllowOverride none
|
||||
Require all granted
|
||||
RewriteEngine on
|
||||
RewriteBase "/"
|
||||
RewriteCond "/tftpboot/%{REQUEST_FILENAME}" !-f
|
||||
RewriteCond "/tftpboot/%{REQUEST_FILENAME}" !-d
|
||||
RewriteRule "(.*)" "index.php?id=$1" [PT,QSA]
|
||||
</Directory>
|
||||
|
||||
<Directory />
|
||||
Options FollowSymLinks
|
||||
AllowOverride all
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<Location />
|
||||
Require all granted
|
||||
</Location>
|
||||
|
||||
Alias / "/tftpboot/"
|
||||
</VirtualHost>
|
Reference in New Issue
Block a user