Forum Discussion

Zulu_101759's avatar
Zulu_101759
Icon for Nimbostratus rankNimbostratus
Apr 02, 2009

01070627:3: The string class external file has invalid format

 

 

I have an issue that's been eating away my cycles (and brain). I created a data group of type external file and placed a file in /var/class. The name of the file is myfile.txt. In it, there is only one line that has a "rule" for ProxyPass to read and rewrite. The problem is "b load" keeps telling me that the external file has a invalid format. At first, the file had 5K lines when I was getting the error message. I chopped it off to one line and still getting the invalid format error. I made sure that the new line(s) are removed by using "vi :%s/\n//g" but that also didn't help. I also tried " b class seo-rewrite.txt extern {filename /var/class/myfile.txt type string mode rw}" but got the same error message. The only time that I don't get the "invalid format" error is when the file is empty!

 

 

Anyone have any idea of what am I doing wrong here?

 

 

 

 

Output of b load

 

Loading the configuration ...

 

BIGpipe: class modification error:

 

01070627:3: The string class external file (/var/class/myfile.txt) has an invalid format.

 

 

 

Content of myfile.txt

 

/latin /find.aspx?id=1234

2 Replies