2
を削除: https://subdomain.domain.net/directory/ 私が直接ブラウザに書き込みしようとした場合、それは、しかし作品:subdomain.domain.net/directory/ブラウザは最初のスラッシュをトリミングし、それゆえ可能性ページをロードし、URLは次のようになりません:私はCodeIgniterのを使用して、そして私の.htaccessにこれを持っていますsubdomain.domain.netdirecotryHTTPSせずにURLを書くことは、私がこのようなURLを記述する場合はスラッシュ
:
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]