473,326 Members | 2,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

How to add windows-1256 char support via .htaccess for website

I made this :

1- .htaccess contains (
Expand|Select|Wrap|Line Numbers
  1. AddDefaultCharset windows-1256
) to read windows-1256 char.

2- and I edited /etc/apache2/sites-available/default to :

Expand|Select|Wrap|Line Numbers
  1. <VirtualHost *:80>
  2.     ServerAdmin webmaster@localhost
  3.  
  4.     DocumentRoot /var/www/
  5.     <Directory />
  6.         Options FollowSymLinks
  7.         AllowOverride All
  8.     </Directory>
  9.     <Directory  /var/www/>
  10.         Options Indexes FollowSymLinks MultiViews
  11.         AllowOverride All
  12.         Order allow,deny
  13.         allow from all
  14.     </Directory>
  15.  
  16.     ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  17.     <Directory "/usr/lib/cgi-bin">
  18.         AllowOverride None
  19.         Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  20.         Order allow,deny
  21.         Allow from all
  22.     </Directory
>

3- my server have( rewrite_module (shared)).

and my server still not reading windows-1256 char although it works on other server
Jul 8 '11 #1
0 1862

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Marko Lahtinen | last post by:
Hello! A part of my website is protected with a .htaccess file. Can I somehow bypass the username/password dialog ?? Can I somehow "hardcode" the authentication name and password in my php-file...
4
by: Ivo | last post by:
Greetings newsgroup, I am moving some php scripts to a new host. While getting to know the server, I ran into a strange problem. If I add a .htaccess file, or more specifically: a .htaccess with...
4
by: Bill | last post by:
Does ASP have a file whose function is similar to .htaccess on Apache? I'm looking to protect subdirectory content.
2
by: Edwin M. Turner | last post by:
I would like the directories of my Website and their contents containing images to be visible just like it is when you navigate on your local machine using Explorer. That way anyone can browse the...
15
by: Taki Jeden | last post by:
Hello everybody Does anybody know why w3c validator can not get pages that use 404 htaccess redirection? I set up two web sites so that clients request non-existent urls, but htaccess redirects...
11
by: lkrubner | last post by:
We are working on a website that is here: http://www.lauradenyes.com/ The site was working till I put up an .htaccess file that was suppose to redirect all html files to the PHP parser. The...
1
by: \(Joseph | last post by:
Is there a way to use php as an alternative to htaccess to control access to my wordpress blog. There are several text files (eg one.txt, 1.txt, first.txt) on my websites that have approved ip...
1
by: nickyeng | last post by:
I have checked this info from apache website, and i confused with it. Procteing System files it said: To run a really tight ship, you'll want to stop users from setting up .htaccess files...
1
by: paintedjazz | last post by:
If I use Google Search as a search engine to search my website but I also use .htaccess to prevent access to the website from any host outside of my subnet, how can I determine what google sites...
6
by: Doug Laidlaw | last post by:
Jerry Stuckle wrote: I have never used anything but Apache, but I didn't know that .htaccess was server-specific. How does Windows do it? Doug.
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.