Re: Having Issues with Apache config file

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

 



Have you checked your error or access loss for any additional information?  I would also verify that the directory tree has the right SE Linux labels, that looks like the default root, but it never hurts to check.  'ls -Z' will give the labels, it should include something like httpd_t I believe.

On Thu, Jun 25, 2020, 3:54 PM bruce <badouglas@xxxxxxxxx> wrote:
Hi.

New to Apache//Laravel. Trying to setup a simple test site for
Laravel, running on Centos8 with Apache.

I'm getting a 403 forbidden error. I've tried a few different mods to
the condif file, still having the same error. The basic config file
,as well as the dir/layout follows:


trying to setup/run a basic test laravel/apache app
I'm getting some sort of forbidden err (403) I believe

I'm running with the ipaddress

http://161.35.180.212/ltest  <<<



## laravel_project.conf
NameVirtualHost *:80
Listen 80

<VirtualHost *:80>
   # VirtualHost file to handle aliases

    #trying to simplify for test laravel app

    # VirtualHost file to handle aliases

    Alias /ltest /var/www/html/laravel_test


    #ServerAdmin admin@1.2.3.4
    #ServerName laravel_test
    #ServerAlias ltest.com

    DocumentRoot "/var/www/html/laravel_test"

    <Directory /var/www/html/laravel_test>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride All
            #Order allow,deny
            #allow from all
            Require all granted
    </Directory>


    # Define where the logs go and what they're called...
    ErrorLog "logs/testsite-error_log"
    CustomLog "logs/testsite-access_log" common

</VirtualHost>



the laravel test app is in the following dir

/var/www/html/laravel_test

there's also a
/var/www/html/laravel_test/public
/var/www/html/laravel_test/public/index.php


Thoughts/Comments are welcome

thanks
-bruce

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


[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