You are here: Re: validate .htaccess? « HTML « IT news, forums, messages
Re: validate .htaccess?

Posted by Don on 12/11/05 02:19

"draphael" <invalidemail@verizon.net> wrote in
news:bXlmf.72$Ea6.56@trnddc08:

> Is there such a thing as an .htaccess validator?
> My error log shows a problem in my .htaccess file, and I haven't been
> successful in finding it.
>
> (the error reads: [Mon Dec 5 20:12:47 2005] [alert] [client
> 65.65.96.190] /home/mysite/public_html/.htaccess: Redirect to non-URL)
>
> best,
> D.
>
>

Not that I'm aware of!
My own htacess rather large at 1600 lines.
The file is forever getting additions, subtractions and lines combined.

Most errors are simple syntax errors. (missing OR, (, ), [, ] or extras
of the same.

Upon becoming aware that a line is not functioning as intended?
It generally takes from 1-2 for me to locate the error (fortuantely I've
learned to be more careful when making changes).

Some simple solutions are to create a duplicate TEMP copy and then use
MS-Words Find functions. Other times I've taken to BOLD fonting specific
characters to ease the repetition of reading the same crap over and
again.

With regular expressions and their complexity, there are simply too many
options (and different ways too end up with the same outcome) for a
creation tool or validator to be functional.

Print the pages and go through each line individually.
Make sure to use a room with very good lighting.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация