Add a Remote Direct

alexandreweb123407

New Member
YetiShare User
Dec 31, 2013
37
0
0
Hi, look this is error

Code:
- Testing mod rewrite and .htaccess file... Could not validate that the .htaccess file had been created on the file server or that mod rewrite was enabled, please check and try again.
The mod rewrite in server as enable ;)

The configuration in fileserver.
FS1.myhost.com
Code:
RewriteEngine On
RewriteBase /
RewriteRule ^(.+)\~s$ '.WEB_ROOT.'/$1~s [L]
RewriteRule ^(.+)\~i$ '.WEB_ROOT.'/$1~i [QSA,L]
RewriteCond %{REQUEST_URI} ^(.+)\~d$
RewriteRule ^(.*) delete_file.php?u=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !\.html$
RewriteRule ^(.*) file_download.php?u=$1 [QSA,L]
RewriteRule ^(.*).html$ $1.php [QSA,L]
Code:
/* main configuration file for script */
define("_CONFIG_SITE_HOST_URL",		"FS1.myhost.com");
define("_CONFIG_SITE_FULL_URL",		"FS1.myhost.com");

define("_CONFIG_CORE_SITE_HOST_URL",		"myhost.com");
define("_CONFIG_CORE_SITE_FULL_URL",		"myhost.com");
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
The mod_rewrite check looks for _config.inc.html on your file server. This exists as a .php file but if the .htaccess file is there and mod_rewrite enabled, it should work.

Try loading the file directly in a browser and seeing if you get a 404 or 200:

http://fs1.myhost.com/_config.inc.html - should produce a 200 if mod_rewrite is enabled and .htaccess available.

Also ensure you have AllowOverride enabled within your Apache config otherwise .htaccess files will be ignored.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Mod_rewrite isn't setup somehow. You'll need to contact your host for them to investigate.