Discussion:
Nginx, wordpress and php calls
(too old to reply)
The Doctor
2023-07-23 01:35:48 UTC
Permalink
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 ***@nk.ca Ici ***@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
2023-07-23 08:37:15 UTC
Permalink
Post by 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
2023-07-23 12:39:40 UTC
Permalink
Post by Marco Moock
Post by 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.
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?
--
Member - Liberal International This is ***@nk.ca Ici ***@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
2023-07-25 08:47:56 UTC
Permalink
Post by The Doctor
Indexdirectory of index.html index.php ...
How do you do that is nginx?
Maybe you want a redirect?
The Doctor
2023-07-25 15:43:50 UTC
Permalink
Post by Marco Moock
Post by The Doctor
Indexdirectory of index.html index.php ...
How do you do that is nginx?
Maybe you want a redirect?
Why a redirect?
--
Member - Liberal International This is ***@nk.ca Ici ***@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
2023-07-26 13:28:18 UTC
Permalink
Post by 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
2023-07-26 22:40:08 UTC
Permalink
Post by Marco Moock
Post by 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.
--
Member - Liberal International This is ***@nk.ca Ici ***@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
2023-07-27 06:24:29 UTC
Permalink
Post by The Doctor
Post by Marco Moock
Post by 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
2023-07-27 14:08:10 UTC
Permalink
Post by Marco Moock
Post by The Doctor
Post by Marco Moock
Post by 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.
--
Member - Liberal International This is ***@nk.ca Ici ***@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
2023-07-27 19:21:39 UTC
Permalink
Post by The Doctor
Post by Marco Moock
Post by The Doctor
Post by Marco Moock
Post by 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
2023-07-27 19:39:38 UTC
Permalink
Post by Marco Moock
Post by The Doctor
Post by Marco Moock
Post by The Doctor
Post by Marco Moock
Post by 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.
So how would you bypass the www-data ownership problem?
--
Member - Liberal International This is ***@nk.ca Ici ***@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
2023-07-27 19:46:47 UTC
Permalink
Post by 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.

Loading...