M
M
molinari2016-07-30 14:19:37
PHP
molinari, 2016-07-30 14:19:37

How to open an application if there is no dedicated domain?

Good afternoon!
There is a task to organize the work of the application if there is no dedicated domain.
For example: in order for the application to work both at domain.com/* and at domain.com/myProject/*
Is it possible to do this using PHP or just do certain configs for Apache or NGINX.
Thanks in advance :) Have a nice weekend everyone

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Savrasov, 2016-07-30
@alcorn

Of course, it is best to resolve it through Apache and NGINX virtual hosts.
But you can also make a redirect to php or configure it via a redirect via .htaccess

I
index0h, 2016-07-31
@index0h

vagrant

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question