Installing in folders

eric2158

New Member
YetiShare User
Jan 31, 2013
34
0
0
Does the script not install in a folder on a site? like "http://XXXXX.XXX/HERE"?

Having issues trying to get it going.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Yes it'll work as long as you set the path in the _config.inc.php file in this constant:

Code:
_CONFIG_SITE_FULL_URL
i.e.

Code:
define("_CONFIG_SITE_HOST_URL",         "website.com");
define("_CONFIG_SITE_FULL_URL",         "website.com/path");
 

eric2158

New Member
YetiShare User
Jan 31, 2013
34
0
0
Keep getting Error 404 on the page links. even with the htaccess file uploaded.
 

eric2158

New Member
YetiShare User
Jan 31, 2013
34
0
0
Trying to install in "http://since83.com/demo/mfscript/" and its just not working.
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
This is _config.inc.php I have for the mods demo here: http://www.yetisharemods.com/demo/

Code:
/* main configuration file for script */
define("_CONFIG_SITE_HOST_URL",         "www.yetisharemods.com"); 
define("_CONFIG_SITE_FULL_URL",         _CONFIG_SITE_HOST_URL.'/demo');
And .htaccess

Code:
# override max php upload settings. Might not work on all servers
#php_value upload_max_filesize 4000M
#php_value post_max_size 4000M

RewriteEngine On
RewriteBase /demo/
RewriteCond %{REQUEST_URI} ^(.+)\~s$
RewriteRule ^(.*) stats.php?u=$1 [L]
RewriteCond %{REQUEST_URI} ^(.+)\~d$
RewriteRule ^(.*) delete_file.php?u=$1 [QSA,L]
RewriteCond %{REQUEST_URI} ^(.+)\~i$
RewriteRule ^(.*) share_file.php?u=$1 [QSA,L]
RewriteCond %{REQUEST_URI} ^(.+)\~f$
RewriteRule ^(.*) view_folder.php?f=$1 [QSA,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !\.html$
RewriteRule ^(.*) file_download.php?u=$1 [QSA,L]
 

eric2158

New Member
YetiShare User
Jan 31, 2013
34
0
0
Still cant get pages to work.

I even change to this

Code:
RewriteBase /demo/mfscript/
in htaccess and still no go.
 

eric2158

New Member
YetiShare User
Jan 31, 2013
34
0
0
This is all it says

Code:
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]