Re: ubuntu apache2

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

 





On Sat, Nov 11, 2023 at 5:16 PM bruce <badouglas@xxxxxxxxx> wrote:
Hi.

Trying to set up a test http://1.2.3.4/foo

where I have a laravel/php setup
 /var/www/html/foo/foo/public <<<

As far as I can tell, there should be an "alias.conf" -- foo.conf in the
/etc/apache2/conf-availables/alias.conf
/etc/apache2/sites-available/foo

and the base httpd.conf

I think there needs to be "rewrite" in there somewhere as well.

Anyone have a solid example of how this should be put together, the
steps required.

I seem to be getting an index list.


At the same time, once this works, I'm going to also "test/try" to get
a _javascript_ app running that can be viewed/displayed from the same
test server.

The test server is a digitalocean ubuntu, easily accessible if you
want to look at the dir/tree/files.

thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


All you need is Alias /foo /var/www/html/foo/foo/public in your vhost. Why do you think you need to use mod_rewrite, as well?

Finally, you'll need to configure httpd to parse php content, see:

https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM



[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