A
A
Andrey2017-08-09 14:59:23
IntelliJ IDEA
Andrey, 2017-08-09 14:59:23

Can I choose a directory for the site?

How to make the site open in localhost:3030/basedir/ and not in localhost:3030
a0089073c3fc4473ad62e583996fcee7.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg, 2017-08-09
@politon

In htaccess write

S
Sergey Novikov, 2017-08-11
@BOOMER_74

If changing Document root is not an option, then the answer is very close - Use router script . This is a PHP Built-In Web Server, no .htaccess will help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question