Erik
(Erik)
January 27, 2016, 4:39pm
1
Hi,
I have some problems with a htacces file maybe someone familiar with this?
I use this script on several pages and it working fine
RewriteEngine On RewriteCond %{HTTP_HOST} ^graphicid.nl RewriteRule (.*) http://www.graphicid.nl/$1 [R=301,L]
BUT on my own site I get the following error;
[Wed Jan 27 17:25:23 2016] [alert] [client 66.249.93.25] /var/www/vhosts/50/208707/webspace/httpdocs/graphicid.nl/.htaccess: Invalid command ‘{\rtf1\ansi\ansicpg1252\cocoartf1348\cocoasubrtf170’, perhaps misspelled or defined by a module not included in the server configuration
Realy don’t know were to look. my webhosting commpany can’t help they say?
Can it be something in my Freeway files?
Thx
Erik
graphicid.nl
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Erik
(Erik)
January 27, 2016, 4:40pm
2
Oh one more thing;
Name of the post is htacces but I use the the wright way;
.htaccess
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Caleb_G1
(Caleb G)
January 27, 2016, 5:01pm
3
I’d recommend starting by trying some different methods of achieving the same result. Give this script a shot, it uses slightly different logic: Redirecting non-www to www with .htaccess | dense13.com
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Erik
(Erik)
January 27, 2016, 6:21pm
4
Hi Caleb,
Already try that,
With the script I use is nothing wrong because it works on other websites ok. I thought it maybe has something to do with Freeway?
Erik
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
I thought it maybe has something to do with Freeway?
More likely the server - is it an Apache server or Windoze/something else?
David
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Erik
(Erik)
January 27, 2016, 9:08pm
6
Hi Dave its an Apache server
Erik
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Try this instead
RewriteEngine On
RewriteCond %{HTTP_HOST} ^graphicid\.nl [NC]
RewriteRule (.*)$ http://www.graphicid.nl/$1 [R=301,L]
But I’m not really sure why you aren’t using the generic version that doesn’t specify the actual domain.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
But dont copy/paste from here - type it.
And when you say your current code works on other sites - are those sites on the same server?
D
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Note that the forum has added < > angle brackets either side of
<http://www.graphicid.nl/$1>
Take them off
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Erik
(Erik)
January 28, 2016, 3:57pm
9
Hi Dave,
I typed your code in a new text editor page and saved it to my server as .htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} ^graphicid.nl [NC]
RewriteRule (.*)$ http://www.graphicid.nl/$1 [R=301,L]
But again a new error (blanc screen internal server errror;
[Thu Jan 28 16:44:31 2016] [alert] [client 66.249.93.28] /var/www/vhosts/50/208707/webspace/httpdocs/graphicid.nl/.htaccess: Invalid command ‘{\rtf1\ansi\ansicpg1252\cocoartf1348\cocoasubrtf170’, perhaps misspelled or defined by a module not included in the server configuration
On the same server at cms.graphicid.nl it is ALSO NOT working but I don’t get an error here?
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
On the same server at cms.graphicid.nl it is ALSO NOT working but I don’t get an error here?
And what happens when you use the generic one?
D
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Erik
(Erik)
January 28, 2016, 7:58pm
11
Both not working www.graphicid.nl gets an internal server error
cms.graphicid.nl not
on both urls the acces file is placed right now! so you can see the error
Erik
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
The error is meaningless unless I can see the actual .htacess file.
What text editor are you using?
D
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Erik
(Erik)
January 28, 2016, 8:03pm
13
standard text editor on Imac
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
standard text editor on Imac
Do you mean ‘TextEdit’? If so is it in plain text mode? - It should be.
Far better with TextWrangler - Free! Bare Bones Software | TextWrangler is now BBEdit -- and still free! It's time to switch.
D
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Erik
(Erik)
January 28, 2016, 10:17pm
15
Hi Dave,
finally!! retyped it in textWrangler and guess what;
IT WORKS!!
Thanx for your great support!
Erik
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
retyped it in textWrangler and guess what;
Use a proper Code Editor for Code - TextEdit sucks at it!
D
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
BTW logo’s does NOT have an apostrophe!
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Erik
(Erik)
January 28, 2016, 10:30pm
18
Don’t understand?
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
In the rotating text on your home page
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Erik
(Erik)
January 28, 2016, 10:35pm
20
Aha, in my language (dutch) we use apostrophe, I use there dutch and english words
offtopic mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤