K
K
ks_ks2012-01-18 03:23:00
Apache HTTP Server
ks_ks, 2012-01-18 03:23:00

What to prescribe in Apache2 configs, or ..?

I need to change the site from site.com/path to site.com/
How to do it? At the moment, when entering site.com , it gives out the root directory,
with a list of all files and folders in it. Folders = other sites.
If the root directory is rearranged to /path, the desired site is loaded by site.com/ , but the pictures are no longer displayed and the links cannot be followed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MakeInstall, 2012-01-18
@MakeInstall

in the site.com/path conf, specify the path to the directory with the site.com/ site and delete the site.com/ domain config)
In general, you need to look.
Although the easiest way is to create site.com/ and make cp from dir1 to dir2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question