•   902 26 88 26 | 941 29 31 21
  •   BLOG
  •   CHAT

Frequent questions:


How I can restrict the access to directories by means of .htaccess?

In order to restrict the access to directories by means of the file .htaccess you must create a file as the following one:
AuthName “Gives your data me?
AuthType BASIC
AuthUserFile /var/www/vhost/tudominio.com/home/data/.htpasswd
AuthGroupFile /dev/null
require to valid-user
Where it puts tudominio.com you will have to put the name of your domain. You must leave the file that you have created in the directory who interests to you to protect.

It is very important that you do not let to spaces nor unnecessary jumps of line at the end of each line, since this type of programming is very sensible and, find this data type, can block the visualization to you of the folder by Web giving you an error 500.

Later you must create a file .htpasswd that you must leave in the /data directory of your website. The file must contain the same information that in this example: user: 15C2CgZErmh1U

  • The file has a line by each user of access and his password corresponding encriptada, separated by the character two points “: ?.

  • In the example the password (hello) but is encriptada (15C2CgZErmh1U) obtained with the function crypt () of PHP.

For more information, it visits the following pages of the Web of Apache:

  • http://httpd.apache.org/docs-2.0/es/howto/htaccess.html

  • http://httpd.apache.org/docs-2.0/es/howto/auth.html

To return to FAQs


1What versions of PHP and MySQL you have in your servants?

2I can use Flash in my webpages?

3You offer connection via SSH or by telnet?

4How I can change to a Hosting superior?

5How I can lodge several domains in a same space of lodging?

6I can change to the direction URL where redirige my domain?

7What I do if I have problems with the erasure of folders?

8How I raise the Web by FTP?

9How to raise the Web with Dreamweaver?

10-Which are the types of registries DNS?

11-What entrances DNS I must form for being able to direct the mail to an external servant?

12-How to erase registries DNS?

13-I can create subdomains with my Hosting?

14-What recommendations you give me for the programming with cgi?

15-How I can personalize my pages of error?

16-How I can restrict the access to directories by means of .htaccess?

17-Have problems in capital letters and small letters. To what it must?

18-How I can accede to the Control Panel of my Hosting?

19-What happens if I surpass the transference of my Web?

20-How I discharge from the hospital a data base?

21-Need that from my Web can be realised safe transactions. What I need?

22-How I discharge from the hospital mail accounts?

23-How I can create redirigidas email addresses and alias?

24-I can extend the size of the email addresses?

25-How many usuary it includes a mail list?

26-I can extend the size of the email addresses?

27-How I can change the password of my mailbox?

28-What happens if forgetfulness the password of my account of mail?

29-How I can form an account of mail in Outlook Express?

30-La configuration of the mail is correct, but it gives problems me. What tests I can realise to solve it?

31-Los mailboxes of my Outlook Express give problems. What I can do?

32-What solution has a full mailbox (Overcuota)?

33-What I do with the messages that say that a virus has intercepted itself?

34-How I can read the e-mail from the Web (Webmail)?

35-How I form filter antiSpam?

36-How I form advanced filtrate antiSpam?

37-How I form the car message answer of vacation?

38-What advice you give me to work with associates of much so large?

39-How active the account catch-all?

40-What I must make to authenticate my mail (authentication smtp)?

41-Difference between IMAP4 and MGP

42-How it is SSL BASIC including?