
RewriteOptions inherit
RewriteEngine on
Redirect /index.html /htdocs/index.php

# Change domain.com to be your primary main domain.
RewriteCond %{HTTP_HOST} ^(www.)?helpdesk.liey.ca$

# Change 'subfolder' to be the folder you want to redirect request to.
RewriteCond %{REQUEST_URI} !^/htdocs/public/ticket/

# Don't change this line.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Change 'subfolder' to be the folder you want to use for your primary domain.
RewriteRule ^(.*)$ /htdocs/public/ticket/$1

# Change domain.com to be your primary domain again.
# Change 'subfolder' to be the folder you will use for your primary domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?helpdesk.liey.ca$
RewriteRule ^(/)?$ htdocs/public/ticket/index.php [L]

# Change domain.com to be your primary main domain.
RewriteCond %{HTTP_HOST} ^(www.)?paypal.yela.ca$

# Change 'subfolder' to be the folder you want to redirect request to.
RewriteCond %{REQUEST_URI} !^/htdocs/public/payment/

# Don't change this line.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Change 'subfolder' to be the folder you want to use for your primary domain.
RewriteRule ^(.*)$ /htdocs/public/payment/$1

# Change domain.com to be your primary domain again.
# Change 'subfolder' to be the folder you will use for your primary domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?helpdesk.liey.ca$
RewriteRule ^(/)?$ htdocs/public/payment/newpayment.php [L]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php81” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
