Re: How to browse to index.php OR index.html on WordPress site?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, Feb 23, 2018 at 1:18 AM, mlrx <mlrx@xxxxxxxxxxxxxxxxxx> wrote:
Le 23/02/2018 à 05:14, Kent West a écrit :
On Thu, Feb 22, 2018 at 9:13 PM, Kent Frazier <frazier377@xxxxxxxxxxxxx>
wrote:

Change the name of index.php to index1.php and access using that name?


That almost works. It allows me to open the index(1).php home page from my
link in index.html, but if I try to go any deeper, it loads the index.html
(while, interestingly, having the .php's deeper-level URL in the URL
address bar of the web-browser). So apparently, the rest of the .php-based
site expects its own index.php file to exist.
[…]

Hello,

is the simplest way be something like this (?) :

vhost1 : actual WP conf
vhost2 : DocumentRoot = WP directory
         DirectoryIndex index.html

In index.html, the button links to vhost1/index.php.



I apologize for being uneducated about Apache2, but I'm not quite up on "vhost". Are your lines above something I should put verbatim into my /etc/apache2/sites-enabled/sitename.conf file, or am I supposed to tailor them to my specific settings, and if so, I really have no idea how to go about doing that.

Thanks!



Have a good day,
--
benoist


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Kent West                    <")))><
Westing Peacefully - http://kentwest.blogspot.com

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux