On Sun, Nov 12, 2023 at 6:47 PM bruce <badoug...@gmail.com> 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-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>
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.

Reply via email to