• 如果你曾经工作过的Apache网络服务器,那么你知道它的结构是存在的。就文件。 创建一个新的配置文件和改变的默认行为,服务器、一种选择是建立的。就文件使用可靠的文本编辑器。 更方便的替代方法是使用大要,其主要优点是,它使你能够填补在结构不了解的语法。

    DA-就使你能够创建一个新的.就项目没有太多的努力和本地保存,至少在第一次。 你篡改目录索引命令,该命令可以让你进入一个默认页时,将显示一个目录上网服务器进行访问。 这种方式,可以配置服务器显示index.html 文件而不是表示一个目录清单,如要求通过一个客户。

    你也可以使用DA-要处理的错误页。 换句话说,应用程序可以定义定义错误的网页,并为他们服务的客户需要的时候。 这种方式,在一种情况下不存在的页面被请求,或另一个类似的错误发生的事件的出现,服务器会显示客户自定义的错误页,而不是标准的无聊的错误页。

    DA-就还可以处理重定向在网络服务器。 主要有两种情况下,你可能想要使用这个用,但其他情况下可能发生。

    第一种情况是相关网页的更改的网址,使老页已被重新定向到新的地址永久性(重新定向类301人)。 第二种情况是相关的搜索引擎优化:一个临时登陆网页应在地方设置时主要页面,计划在以后恢复(例如,网页维护)。

    .要配置文件还可以包括有关的信息的用户和密码。

    A.就构成可以创建一个简单文本编辑器,但DA-就使它更加容易进行的任务。 给你自由你得到创建时配置一个文本编辑器,应用程序还设有一个自定义的代码区,在这里你可以添加任何你想要包括在配置文件。 然而,请注意,即使是最轻微的语法错误可能导致的内容未显示正确的。

    一旦你完成.要文件,你可以出口到您的电脑或者简单使用的综合FTP上传到将其放在目录的网络服务器。

  • यदि आप कभी साथ काम किया अपाचे वेब सर्वर है, तो आप जानते हैं कि इसके विन्यास में संग्रहीत किया जाता है .htaccess फ़ाइल है. बनाने के लिए एक नया विन्यास फ़ाइल को बदलने के डिफ़ॉल्ट व्यवहार सर्वर, एक विकल्प बनाने के लिए है .htaccess फ़ाइल का उपयोग कर एक विश्वसनीय पाठ संपादक है । एक और अधिक सुविधाजनक विकल्प का उपयोग कर रहा है डा-HtAccess, जिसका प्रमुख लाभ यह है कि यह सक्षम बनाता है आप को भरने के लिए विन्यास में जानने के बिना वाक्य रचना है ।

    दा-HtAccess के लिए सक्षम बनाता है एक नया बनाएँ .htaccess परियोजना बहुत प्रयास के बिना और इसे बचाने के लिए स्थानीय स्तर पर, कम से कम पहले । आप प्राप्त करने के लिए के साथ छेड़छाड़ निर्देशिका सूचकांक आदेश है, जो की अनुमति देता है आप दर्ज करने के लिए एक डिफ़ॉल्ट पृष्ठ प्रदर्शित किया जाएगा कि जब एक निर्देशिका वेब सर्वर पर पहुँचा है. इस तरह, आप कर सकते हैं कॉन्फ़िगर सर्वर प्रदर्शित करने के लिए एक index.html फ़ाइल के बजाय एक निर्देशिका लिस्टिंग के रूप में, एक ग्राहक द्वारा अनुरोध.

    आप भी उपयोग कर सकते हैं दा-HtAccess संभाल करने के लिए त्रुटि पृष्ठों. दूसरे शब्दों में, आवेदन सक्षम बनाता है आप को परिभाषित करने के लिए कस्टम त्रुटि पृष्ठों और उन्हें सेवा करने के लिए ग्राहकों की जरूरत है जब. इस तरह, मामले में एक पृष्ठ मौजूद नहीं है कि अनुरोध किया है, या किसी अन्य इसी तरह की त्रुटि पैदा करने की घटना होती है, तो सर्वर को दिखाने के ग्राहक के लिए एक स्वनिर्धारित त्रुटि पृष्ठ के बजाय मानक उबाऊ त्रुटि पेज.

    दा-HtAccess भी सक्षम बनाता है, आप को संभाल करने के लिए पुनर्निर्देश में अपने वेब सर्वर पर. वहाँ रहे हैं दो मुख्य मामलों में आप चाहते हो सकता है इस का उपयोग करने के लिए है, लेकिन अन्य स्थितियों में हो सकता है के रूप में अच्छी तरह से.

    पहले मामले से संबंधित है के लिए पृष्ठों है कि आप को बदल दिया यूआरएल के लिए है, तो पुराने पृष्ठ के लिए पुनर्निर्देशित किया जा करने के लिए नए पते पर स्थायी रूप से (अनुप्रेषित 301). दूसरी स्थिति से संबंधित है के लिए खोज इंजन अनुकूलन: एक अस्थायी लैंडिंग पृष्ठ सेट किया जाना चाहिए जगह में जब मुख्य पृष्ठ की योजना बनाई है करने के लिए बहाल किया जा सकता बाद (उदाहरण के लिए, पृष्ठ के रखरखाव के लिए है).

    के .htaccess विन्यास फाइल भी शामिल कर सकते हैं के बारे में जानकारी उपयोगकर्ताओं और उनके पासवर्ड.

    एक है .htaccess विन्यास किया जा सकता है बनाया के साथ एक सरल पाठ संपादक है, लेकिन दा-HtAccess बनाता है यह आसान बाहर ले जाने के लिए कार्य है । देने के लिए आप पूरी स्वतंत्रता हो जब तुम बनाने के विन्यास में एक पाठ संपादक, आवेदन भी एक कस्टम क्षेत्र कोड जोड़ सकते हैं, जहां किसी भी आप चाहते लाइनों में शामिल करने के लिए कॉन्फ़िगरेशन फ़ाइल है । हालांकि, कृपया ध्यान दें कि यहां तक कि थोड़ी सी भी सिंटैक्स त्रुटि में परिणाम कर सकते हैं सामग्री सही ढंग से प्रदर्शित नहीं किया जा रहा है ।

    एक बार जब आप कर रहे हैं के साथ किया जाता है । htaccess फ़ाइल में निर्यात कर सकते हैं यह अपने कंप्यूटर के लिए या बस का उपयोग एकीकृत एफ़टीपी अपलोडर में जगह के लिए अपने वेब सर्वर की निर्देशिका.

  • If you ever worked with the Apache web server, then you know that its configuration is stored in the .htaccess file. To create a new configuration file and alter the default behavior of the server, one option is to build the .htaccess file using a reliable text editor. A more convenient alternative is using DA-HtAccess, whose major advantage is that it enables you to fill in the configuration without knowing the syntax.

    DA-HtAccess enables you to create a new .htaccess project without too much effort and save it locally, at least at first. You get to tamper with the directory index command, which allows you to enter a default page that will be displayed when a directory on the web server is accessed. This way, you can configure the server to display an index.html file instead of showing a directory listing, as requested by a client.

    You can also use DA-HtAccess to handle error pages. In other words, the application enables you to define custom error pages and serve them to clients when needed. This way, in case a page that does not exist is requested, or another similar error-generating event occurs, the server will show the client a customized error page instead of the standard boring error page.

    DA-HtAccess also enables you to handle redirects in your web server. There are two main cases you might want to use this for, but other situations might occur as well.

    The first case is related to pages that you changed the URL for, so the old page has to be redirected to the new address permanently (redirect type 301). The second situation is related to search engine optimization: a temporary landing page should be set in place when the main page is planned to be restored later (e.g., page maintenance).

    The .htaccess configuration file can also include information regarding users and their passwords.

    A .htaccess configuration can be created with a simple text editor, but DA-HtAccess makes it easier to carry out the task. To give you the complete freedom you get when creating the configuration in a text editor, the application also features a custom code area where you can add any lines you want to include in the configuration file. However, please note that even the slightest syntax error can result in the content not being displayed correctly.

    Once you are done with the .htaccess file, you can export it to your computer or simply use the integrated FTP uploader to place it in the directory of your web server.