Search
 
SCRIPT & CODE EXAMPLE
 

PHP

plesk web config file laravel

<configuration>
<system.webServer>
    <defaultDocument>
        <files>
            <clear />
            <add value="index.php" />
            <add value="default.aspx" />
            <add value="Default.htm" />
            <add value="Default.asp" />
            <add value="index.htm" />
            <add value="index.html" />
        </files>
    </defaultDocument>
    <rewrite>
        <rules>
            <rule name="Imported Rule 1" stopProcessing="true">
                <match url="^(.*)/$" ignoreCase="false" />
                <conditions>
                    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                </conditions>
                <action type="Redirect" redirectType="Permanent" url="/{R:1}" />
            </rule>
            <rule name="Imported Rule 2" stopProcessing="true">
                <match url="^" ignoreCase="false" />
                <conditions>
                    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                </conditions>
                <action type="Rewrite" url="index.php" />
            </rule>
        </rules>
    </rewrite>
    <httpErrors errorMode="Detailed" />
</system.webServer>
Comment

PREVIOUS NEXT
Code Example
Php :: get redirect url for laravel socialite with api 
Php :: php self referencing form 
Php :: url segment in laravel 
Php :: laravel one session per user 
Php :: php file upload 
Php :: Undefined constant "STDOUT" in php 
Php :: strip non numeric and period php 
Php :: laravel fontawesome blade directive 
Php :: php array differ 
Php :: php dirpath multiple file extensions 
Php :: symfony messenger conf 
Php :: Remove prefix on category title 
Php :: laravel store file 
Php :: laravel model::query 
Php :: how check the checkbox is check php 
Php :: contact form 7 remove br 
Php :: laravel imap - Get message attachments 
Php :: laravel include config 
Php :: execute function php 
Php :: laravel scheduler on shared hosting 
Php :: update cart subtotal woocommerce 
Php :: laravel count array 
Php :: model class not found in laravel 
Php :: create symfony demo app 
Php :: laravel import data from csv 
Php :: php while loop 
Php :: acf add options page to custom post type 
Php :: math functions and predefined constants php 
Php :: change verify email template laravel 
Php :: check if input file is empty in php 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =