Похожие чаты

Hi I have a website abc.com which has its files

at var/www/abc.
I need the web address abc.com/xyz to be served from location var/www/xyz.
I have added the location directive in apache conf file but unable to get it to work.
How do I solve this?

4 ответов

10 просмотров
Kumar-Raghav Автор вопроса

Adding <Directory /var/www/xyz> </Directory> inside <Location /xyz> </Location> Gave a Apache syntax error

https://stackoverflow.com/questions/6307047/different-folder-as-website-subfolder

Kumar-Raghav Автор вопроса
Kumar-Raghav Автор вопроса

Following upon this question, both the sites are working and will be using the same MySQL db. But any test values input on xyz websites are not reflecting in the database. How do I connect xyz site to the database?? Thanks!

Похожие вопросы

Обсуждают сегодня

И ещё - определить, имеет ли он доступ к интернету очень просто - смотрим всех пользователей сети. И да, как оно без сети передаст данные в куда то?
BytePixel 🐧
15
Hey everyone! How can I pass string from Rust to c++ function that expects std::string? When I'm passing CString the c++ functions tell that the string is empty
Jacob
16
А чем вам питонисты не угодили?😂
.
79
Есть какой-нибудь для Delphi/FPC T*Compression(Decompression)Stream на базе LZ4/Zstd/любой другой быстрый(и хорошо сжимающий) алгоритм А ещё лучше в pure pascal А ещё лучше од...
notme
48
Ясн. Но я всеравно к кедам отношусь с опасением. Чисто субьективное кедосозерцание. Что касаемо "восторга изяшности кед" так и не вкурил, хотя много слышал, пока не поставил с...
Артем Записной
30
Я походу случайно сломал свою систему 😅 Хотел увеличить место на системном разделе, переместил раздел EFI и система больше не бутится Можно исправить без переустановки?
Кот Холод (#AW)
10
hi guys, can anyone tell me which location HEX is launched on the 3th of Dec 2019 ? New York? Thanks!
Fleur
11
type TObj = object procedure Init; virtual; end; TObj1 = object(TObj) procedure Init; override; end; procedure TObj1.Init; begin inherited; end; procedur...
Alexander 👋
29
Asus, норм фирма для ноутов?
Артем Записной
11
Hey guys, did you see the new announcement about $Fun? 🔥
Filip Murphy
55
Карта сайта