Re: Ubuntu/Apache2/laravel - test project setup in subdirs

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

 





On Sun, Nov 12, 2023 at 6:47 PM bruce <badouglas@xxxxxxxxx> wrote:
Hi.

Setting up a test laravel app to run as a subdir:
 ie   /var/www/html/wave/wave/public   (index.php)

the idea is to have the url
  http://1.2.3.4/wave      (is this possible? or dies it need to be
  http://1.2.3.4/wave/index.php  in the url ??

I'd also like the base url to be
   http://1.2.3.4   --- to have a default page

Having the test laravel apps in subdirs gives the project multiple test apps.

I'd like the urls to be similar to
 http//1.2.3.4/app1
 http//1.2.3.4/app2..

which means changes to the
   /etc/apache2/mods-available/alias.conf file

  and the
  /etc/apache2/sites-available/wave1.conf    wave2.conf... for the
VirtHost setup

As far as I can tell.. I think the basic "laravel" app displays sort of ok..
 at least from the top url...

However, the current test setup gives errs from the subdir.. which
implies something amiss.

So, I'm posting here, hoping that someone has set something up similar
to what I'm going through.

I'm more than willing to give complete access to the test digital
ocean Ubuntu droplet/instance to check out this issue.

thanks

the test url  --- http:  //  161.35.5.174       http:  //
161.35.5.174/  wave

I realize this is more for laravel...  but I'm throwing this out on a prayer!!

thanks! again

ps..

the basic dirr tree
/var/www/html/wave/wave/public/index.php

so the 2nd would be
/var/www/htmlwave2/wave/public/index.php
(at least I think it would be this...)

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


Again, all you need is the Alias directive, and you didn't show the errors you encountered.

And you created a new thread, yet again. 

[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