GeDaS Posted March 3, 2010 Report Share Posted March 3, 2010 Hi, I created .htaccess file on Home Directory. I've written this in the file Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^www.mydomain.info [nc] rewriterule ^(.*)$ http://mydomain.info $1 [r=301,nc] Saved the file. However whenever I check the website www.mydomain.info it still doesn't redirect to http://mydomain.info. Please, need you guidance. Never created and messed around with .htaccess file before. Quote Link to comment Share on other sites More sharing options...
Cody R. Posted March 3, 2010 Report Share Posted March 3, 2010 Try RewriteEngine on RewriteCond %{HTTP_HOST} ^www.yourdomain.info$ [NC] RewriteRule ^(.*)$ http://yourdomain.info$1 [R=301,L] [/code] Quote Link to comment Share on other sites More sharing options...
GeDaS Posted March 4, 2010 Author Report Share Posted March 4, 2010 Ok, that really didn't help. Maybe I'm putting .htaccess file in wrong directory? It's in directory accessible from cpanel "File Manager Directory Selection" and choosing "Home Directory". Is it in right directory, or should I put it somewhere else? Is it ok if .htaccess file only contains lines that you wrote, or should it contain anything else too? Quote Link to comment Share on other sites More sharing options...
Cody R. Posted March 4, 2010 Report Share Posted March 4, 2010 Ok, that really didn't help. Maybe I'm putting .htaccess file in wrong directory? It's in directory accessible from cpanel "File Manager Directory Selection" and choosing "Home Directory". Is it in right directory, or should I put it somewhere else? Is it ok if .htaccess file only contains lines that you wrote, or should it contain anything else too? It should be in the root directory of your website.. so something along the lines of: public_html/.htaccess [/code] Quote Link to comment Share on other sites More sharing options...
GeDaS Posted March 4, 2010 Author Report Share Posted March 4, 2010 Haha, finally worked... Thank you! P.S. I really love your hosting, so far. Quote Link to comment Share on other sites More sharing options...
JanetHagogeade Posted March 23, 2010 Report Share Posted March 23, 2010 ah yeah i havent put the end if there... i just want to know if this syntax if this_key is "field2" then set f2 to this_value is correct. Its correct. Values stored. Next question.. i know i can do openssl and: Code:set y to do shell script "echo " & x & " openssl bf -d -salt -a -pass pass:" & Password1 & ""but is it possible to do mdecrypt with shell script? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.