Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Nginx, wordpress and php calls

26 views
Skip to first unread message

The Doctor

unread,
Jul 22, 2023, 9:35:51 PM7/22/23
to
Just wondering now can I hide a worpress site yet use index.html from the current
site so that one can work on the WP site?
--
Member - Liberal International This is doc...@nk.ca Ici doc...@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
Never a good sign: caring more about being right than about finding what's right. -unknown Beware https://mindspring.com

Marco Moock

unread,
Jul 23, 2023, 4:37:18 AM7/23/23
to
Am 23.07.2023 um 01:35:48 Uhr schrieb The Doctor:

> Just wondering now can I hide a worpress site yet use index.html from
> the current site so that one can work on the WP site?

Please exactly tell us what you like to do and why.

The Doctor

unread,
Jul 23, 2023, 8:39:43 AM7/23/23
to
Give that location is /a/b/c/d/e

and that
you to use php

and you want

Indexdirectory of index.html index.php ...

How do you do that is nginx?

Marco Moock

unread,
Jul 25, 2023, 4:47:58 AM7/25/23
to
Am 23.07.2023 schrieb doc...@doctor.nl2k.ab.ca (The Doctor):

> Indexdirectory of index.html index.php ...
>
> How do you do that is nginx?

Maybe you want a redirect?

The Doctor

unread,
Jul 25, 2023, 11:43:52 AM7/25/23
to
Why a redirect?
--
Member - Liberal International This is doc...@nk.ca Ici doc...@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
Most are talented in the mouth, but few in the heart. -unknown Beware https://mindspring.com

Marco Moock

unread,
Jul 26, 2023, 9:29:04 AM7/26/23
to
Am 25.07.2023 um 15:43:50 Uhr schrieb The Doctor:

> Why a redirect?

Because you want that when users call index.html they will go to
index.php?

Please give more details about what your goal is.

The Doctor

unread,
Jul 26, 2023, 6:40:10 PM7/26/23
to
Acutall I got goal one solved.

Now to solve Goal 2.
--
Member - Liberal International This is doc...@nk.ca Ici doc...@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
As the corrupt accuse, so they are. -unknown Beware https://mindspring.com

Marco Moock

unread,
Jul 27, 2023, 2:24:35 AM7/27/23
to
Am 26.07.2023 schrieb doc...@doctor.nl2k.ab.ca (The Doctor):

> In article <u9r71i$1gj60$1...@dont-email.me>, Marco Moock
> <mo...@posteo.de> wrote:
> >Am 25.07.2023 um 15:43:50 Uhr schrieb The Doctor:
> >
> >> Why a redirect?
> >
> >Because you want that when users call index.html they will go to
> >index.php?
> >
> >Please give more details about what your goal is.
> >
>
> Acutall I got goal one solved.
>
> Now to solve Goal 2.

It seems you don't want to tell what you exactly want to do, so I
cannot help.

The Doctor

unread,
Jul 27, 2023, 10:08:12 AM7/27/23
to
Always a matter of reading the correct page.
--
Member - Liberal International This is doc...@nk.ca Ici doc...@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
No one who labels themselves highly gets the same in Heaven. -unknown Beware https://mindspring.com

Marco Moock

unread,
Jul 27, 2023, 3:21:41 PM7/27/23
to
Am 27.07.2023 um 14:08:10 Uhr schrieb The Doctor:

> In article <u9t2iu$1jvmf$1...@dont-email.me>, Marco Moock
> <mo...@posteo.de> wrote:
> >Am 26.07.2023 schrieb doc...@doctor.nl2k.ab.ca (The Doctor):
> >
> >> In article <u9r71i$1gj60$1...@dont-email.me>, Marco Moock
> >> <mo...@posteo.de> wrote:
> >> >Am 25.07.2023 um 15:43:50 Uhr schrieb The Doctor:
> >> >
> >> >> Why a redirect?
> >> >
> >> >Because you want that when users call index.html they will go to
> >> >index.php?
> >> >
> >> >Please give more details about what your goal is.
> >> >
> >>
> >> Acutall I got goal one solved.
> >>
> >> Now to solve Goal 2.
> >
> >It seems you don't want to tell what you exactly want to do, so I
> >cannot help.
> >
>
> Always a matter of reading the correct page.

It looks like you don't want help, so you need to find out yourself
what to do.

The Doctor

unread,
Jul 27, 2023, 3:39:41 PM7/27/23
to
So how would you bypass the www-data ownership problem?

Marco Moock

unread,
Jul 27, 2023, 3:46:49 PM7/27/23
to
Am 27.07.2023 um 19:39:38 Uhr schrieb The Doctor:

> So how would you bypass the www-data ownership problem?

It is intended behavior to avoid serving files that are not explicitly
intended to be published.

Change the owner of that files and make sure that other processes set
the owner properly if they create files that you want to be published
by nginx.

0 new messages