I am able to access backlight, but every page of my site will throw the error: Something went wrong. Unable to find index page.
I moved to a new hosting provider, Epik and I had a fresh site I could cPanel and FTP with and I had TTG galleries and pages working. I then tried to get TTG Theater add-on working with html5 videos, I did upload the .htaccess file into the public_folder …and the host already had a .htaccess file there …and it said do not edit their .htaccess file but i uploaded the TTG installer .htaccess and replaced theirs … and it broke my site and they blocked my IP. They are not familiar with Backlight so I thought I’d better consult here before going further.
Seems like it’s a .htaccess problem or not being able to start that index.php to get the site displaying.
Ben is probably the man with a plan, here.
And I had asked my host to place their regular .htaccess file into my public_html folder …but I do see that backlight is referenced in this code at lines 14, 29) …So, I’m not sure how to proceed. Here is what it is now and give the error: Something went wrong. Unable to find index page…
RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
RewriteRule ^(.*)$ - [E=BASE:%1]
#RewriteRule ^(.*)$ - [E=BASE:]
RewriteBase /backlight/
RewriteCond $0#%{REQUEST_URI} ([^#])#(.)\1$
RewriteRule ^.*$ - [E=BASE:%2]
RewriteRule ^(.*)$ - [E=QS:mod_rewrite=on]
RewriteRule ^/?search\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=publisher&c=gallery&a=search [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&c=$2&a=$3&p1=$4&p2=$5&p3=$6&htline=1 [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&c=$2&a=$3&p1=$4&p2=$5&htline=2 [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&c=$2&a=$3&p1=$4&htline=3 [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&c=$2&a=$3&htline=4 [QSA,L]
RewriteRule ^/?(api)/([a-zA-Z0-9_\-\.]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&c=$2&htline=5 [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)/([a-zA-Z0-9_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&c=$2&htline=5 [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&htline=6 [QSA,L]
# Enable passing of mod_rewrite for /backlight/ site root
RewriteRule ^$ %{ENV:BASE}index.php?%{ENV:QS}&htline=7 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ %{ENV:BASE}index.php?%{ENV:QS}&htline=8 [QSA,L]