LINUX.ORG.RU

Сообщения faradeycom

 

После установки SSL перестали открываться подкаталоги с ссылок на главной.

Форум — Admin

Купил сертификат установил но по https://.../ открывается только главная а переходы с неё на https/подкаталоги пишет:

Not Found The requested URL /krprivat was not found on this server. Apache/2.2.22 (Debian) Server at nataxi.com.ua Port 443

что не так? Googlе скоро меня возненавидит

Debian 7 apache2 CodeIgniter Web Framework

Настройки mysslhost:

<IfModule mod_ssl.c>
<VirtualHost _default_:443>
	ServerAdmin webmaster@localhost
	ServerName nataxi.com.ua
	DocumentRoot /var/www
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>
    
    	

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride None
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>
 	ErrorLog ${APACHE_LOG_DIR}/error.log
и .htaccess:
RewriteEngine on
DirectoryIndex index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php?/$0 [PT,L]
                                                             
#php_value memory_limit 4096M
RewriteEngine on 
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] 
RewriteRule ^/?(.*) http://%1/$1 [L,R=permanent] 
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.php\ HTTP/ 
RewriteRule ^(([^/]+/)*)index\.php$ http://192.168.1.250/$1 [R=301,L]
#RewriteRule ^(.*).html/ $1.html [R=301,L]
RewriteCond %{HTTP_HOST} !="" 
RewriteCond %{THE_REQUEST} ^[A-Z]+\s//+(.*)\sHTTP/[0-9.]+$ [OR] 
RewriteCond %{THE_REQUEST} ^[A-Z]+\s(.*/)/+\sHTTP/[0-9.]+$ 
RewriteRule .* http://%{HTTP_HOST}/%1 [R=301,L] AddType text/x-component htc 
RewriteCond $1 !^(index\.php|adminer\.php|bank\.php|1\.php|downloads|assets|tests|cgi-bin|favicon.ico|in.php|flash|apc.php|robots\.txt|receiver\.html|w1_173288578511\.txt|calculate_some_stuff\.php|delete_old_relations\.php|w1_168373431676\.txt|w1_120764444201\.txt) 
RewriteRule ^(.*)$ /index.php?/$1 [L]

 , ,

faradeycom
()

RSS подписка на новые темы