Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Topic closed
Problem: AutoIndex isn't working in a sub-folder/sub-domain. How can I fix this?
Solution: Check to see if your hosting is compatible with TTG plugins. Run the AutoIndex verify script to make sure.
To access the script you need to point the browser to the its location on the server. This will depend on your set up. For those using Pages, the url will be:
yoursite.com/lib/autoindex/verify.php
for those using Autoindex in a stand-alone set up (say, with a WordPress site, for example), then the path will be:
yoursite.com/your-autoindex-folder/lib/autoindex/verify.php. This will, of course, depend on your actual set up.
If you get a realpath() error you may need to contact your hosting company to resolve, or change hosting. For those using GoDaddy (and a few others) this solution may work for you.
Open the /lib/autoindex/autoindex.php file and replace all instances of:
$_SERVER['DOCUMENT_ROOT']
with:
$_SERVER["SUBDOMAIN_DOCUMENT_ROOT"]
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1
Topic closed