HEX
Server: LiteSpeed
System: Linux server111.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: lacammxy (848)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //home/lacammxy/public_html/videos/web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <clear />

                <!-- Auth routes -->
                <rule name="Auth - Login" stopProcessing="true">
                    <match url="^login/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?mode=login" appendQueryString="true" />
                </rule>
                <rule name="Auth - Register" stopProcessing="true">
                    <match url="^register/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?mode=register" appendQueryString="true" />
                </rule>
                <rule name="Auth - Logout" stopProcessing="true">
                    <match url="^logout/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?mode=logout" appendQueryString="true" />
                </rule>

                <!-- Policy routes -->
                <rule name="Policy - Shipping" stopProcessing="true">
                    <match url="^shipping/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?mode=shipping" appendQueryString="true" />
                </rule>
                <rule name="Policy - Return Policy" stopProcessing="true">
                    <match url="^return-policy/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?mode=return-policy" appendQueryString="true" />
                </rule>
                <rule name="Policy - Privacy Policy" stopProcessing="true">
                    <match url="^privacy-policy/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?mode=privacy-policy" appendQueryString="true" />
                </rule>
                <rule name="Policy - Terms of Service" stopProcessing="true">
                    <match url="^terms-of-service/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?mode=terms-of-service" appendQueryString="true" />
                </rule>
                <rule name="Policy - Cookie Policy" stopProcessing="true">
                    <match url="^cookie-policy/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?mode=cookie-policy" appendQueryString="true" />
                </rule>

                <!-- Info routes -->
                <rule name="Info - About" stopProcessing="true">
                    <match url="^about/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?mode=about" appendQueryString="true" />
                </rule>
                <rule name="Info - FAQ" stopProcessing="true">
                    <match url="^faq/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?mode=faq" appendQueryString="true" />
                </rule>
                <rule name="Info - Contact" stopProcessing="true">
                    <match url="^contact/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?mode=contact" appendQueryString="true" />
                </rule>

                <!-- API routes -->
                <rule name="API - Broadcast" stopProcessing="true">
                    <match url="^api/broadcast/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?api=broadcast" appendQueryString="true" />
                </rule>
                <rule name="API - Status" stopProcessing="true">
                    <match url="^api/status/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?api=status" appendQueryString="true" />
                </rule>

                <!-- Update routes -->
                <rule name="Update - Sitemap" stopProcessing="true">
                    <match url="^update/sitemap/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?update=sitemap" appendQueryString="true" />
                </rule>

                <!-- Skip static files -->
                <rule name="Static Files" stopProcessing="true">
                    <match url="\.(xml|txt|ico|png|jpg|jpeg|gif|webp|svg|css|js|woff|woff2|html|htm)$" ignoreCase="true" />
                    <action type="None" />
                </rule>

                <!-- Catch-all for ANY broadcast slug (supports Unicode/Thai characters) -->
                <rule name="Broadcast - Any Slug" stopProcessing="true">
                    <match url="^([^/]+)/?$" ignoreCase="true" />
                    <action type="Rewrite" url="index.php?view={R:1}" appendQueryString="true" />
                </rule>
            </rules>
        </rewrite>

        <defaultDocument>
            <files>
                <clear />
                <add value="index.php" />
            </files>
        </defaultDocument>
    </system.webServer>
</configuration>