Search
 
SCRIPT & CODE EXAMPLE
 

PHP

apache use public folder as root

//ON YOUR APACHE SITE CONFIG FILE:
// In my case my Apache root is: 
//d:laragonetcapache2sites-enabledauto.sitetest.test.conf

<VirtualHost *:80> 
    DocumentRoot "${ROOT}/public"   //public or whatever is your root
    ServerName ${SITE}
    ServerAlias *.${SITE}
    <Directory "${ROOT}">
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>
Comment

PREVIOUS NEXT
Code Example
Php :: how to save multiple records in database using laravel 
Php :: return redirect to extranal url in laravel 
Php :: Creating (Declaring) PHP Variables 
Php :: create auto image path folder in laravel 8 
Php :: laravel mail cc 
Php :: php <= 
Php :: woocommerce_variation_option_name on frontend 
Php :: how to get array key in php 
Php :: php library to convert html to amp 
Php :: laravel db raw count where 
Php :: arc cosine php 
Php :: laravel belongstomany prevent duplicates attach 
Php :: laravel relationship delete all 
Php :: laravel custom pagination 
Php :: PHP Ternary Operator With Elseif Example 
Php :: eloquent insert into select 
Php :: if file is not selected in file input type php 
Php :: laravel pagination 
Php :: laravel get from model 
Php :: how to excluse csrf in a route laravel 
Php :: laravel composer sanctum 
Php :: laravel unique id 
Php :: php require once 
Php :: php to print value if key exists in array 
Php :: laravel migration char length 
Php :: php glob sort by unsigned int 
Php :: cara membuat koneksi php 
Php :: wp wc php edit archive-product category page 
Php :: audio validation in jquery validation 
Php :: Laravel 9 Mail File 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =