Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Aby przekierować aplikację uruchomioną na wybranym porcie na konkretną stronę - należy w katalogu domyślnym tej domeny stworzyć plik .htaccess z zawartością:
- DirectoryIndex disabled
- RewriteEngine On
- RewriteRule ^$ http://127.0.0.1:NR_PORTU/ [P,L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ http://127.0.0.1:NR_PORTU/$1 [P,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement