Htaccess File

ycomieronperdices/HTML_ebay/master/.htaccess

HTTP_HOST, REQUEST_FILENAME, REQUEST_URI
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /HTML_ebay/
    
    RewriteCond %{HTTP_HOST} ^domain.com [NC]
    RewriteRule (.*) http://www.domain.com/$1 [L,R=301]    
  
    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    RewriteCond %{REQUEST_URI} ^application.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
Exit mobile version