Помогите разобраться с <VirtualHost !!!

Настройка и администрирование веб-серверов.
Ответить
qwertyuiop
Сообщения: 75
Зарегистрирован: 24 мар 2005, 11:00

12 дек 2007, 17:59

Ребят,подскажите как поднять Апач 2.2.6 на Висте???

В файле httpd-vhosts.conf пишу:

NameVirtualHost 127.0.0.2:80

<VirtualHost 127.0.0.2:80>
DocumentRoot C:/Program Files (x86)/Apache Software Foundation/Apache2.2/home/musya
ServerName musya
ErrorLog C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/musya-error.log
CustomLog C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/musya-access.log
</VirtualHost>

Далее в файле hosts пишу:
127.0.0.1 localhost
127.0.0.2 musya

Но почему то под адресом musya открывается localhost с надписью It works!

То есть он в упор не видит папку /home/musya/ и открывает
DocumentRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs"
из httpd.conf

-------------------------------
Я раньше работал только с версией 1.3 - там всё как то по проще!!! А в этой не пойму!!! Может кто-нить знает как это решить

Заранее спасибо!
qwertyuiop
Сообщения: 75
Зарегистрирован: 24 мар 2005, 11:00

12 дек 2007, 18:15

qwertyuiop писал(а):Ребят,подскажите как поднять Апач 2.2.6 на Висте???

В файле httpd-vhosts.conf пишу:

NameVirtualHost 127.0.0.2:80

<VirtualHost 127.0.0.2:80>
DocumentRoot C:/Program Files (x86)/Apache Software Foundation/Apache2.2/home/musya
ServerName musya
ErrorLog C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/musya-error.log
CustomLog C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/musya-access.log
</VirtualHost>

Далее в файле hosts пишу:
127.0.0.1 localhost
127.0.0.2 musya

Но почему то под адресом musya открывается localhost с надписью It works!

То есть он в упор не видит папку /home/musya/ и открывает
DocumentRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs"
из httpd.conf

-------------------------------
Я раньше работал только с версией 1.3 - там всё как то по проще!!! А в этой не пойму!!! Может кто-нить знает как это решить

Заранее спасибо!




ОТБОЙ!!! ПРОСТО БЫЛА ОШИБКА В httpd.conf закомментированная строчка Include conf/extra/httpd-vhosts.conf
qwertyuiop
Сообщения: 75
Зарегистрирован: 24 мар 2005, 11:00

12 дек 2007, 18:20

Нет,всё равно не работает!!!! Кто знает какие значения нужно писать???
lovefcs09
Сообщения: 3
Зарегистрирован: 12 июн 2008, 11:21

23 июн 2008, 02:24

2. Description of errors in students’ English writing “An error can be defined as a deviation from the norms of the target language”. It takes place as a result of lack of knowledge. It represents a lack of linguistic competence .A mistakes occurs when learners fail to perform their competence.Shaiya gold3. Problems involved in students’ writing 3.1 Improper choices of words In writing, quite a number of students fail to choose and use the correct and appropriate English words. They could not discriminate the synonyms. The following examples are taken from students’ writings:fly for fun gold(1) In area, China is the third largest state in the world.(2) The program has won the support of the whole land.(3) China is my native nation.(4) The company is of country-owned enterprise.(5) They lived in a little town.(6) I can never forget the small town where I spent my happy childhood.The above sentences are unacceptable. Students mingle the meaning of words. Country, nation, state and land have more or less the same denotation and may all be translated into guojia in Chinese, but their connotations are quite different. Country refers to an area of land and its population and government, nation emphasizes the people of a country, state refers to the government or political organization of country, and land is less precise but more literary and emotive than country. Small and little are often interchangeable, but there is some difference in emotional coloring between them. Small is objective, while little may imply a feeling of fondness. Therefore, the above sentences could be revised as the following :( 1) In area, China is the third largest country in the world.(2) The program has won the support of the whole nation.(3) China is my native land.(4) The company is of state-owned enterprises.(5) They lived in a small town.(6) I can never forget the little town where I spent my happy childhood.EVE ISK3.2 Problems involved in collocation of words Wrongly collocating words is very common in English writing. Students have little awareness of the collocation of words. Just look at the following examples selected from students’ writings :( 1) Nowadays, the traffic in big cities is getting more and more crowed.In this sentence, heavy should replace the word traffic. In English, crowed could not be used to modify “traffic”, although we may guess the meaning, it is wrong to English-speaking people.(2) For some students, the tuition feesare so expensive that they cannot afford them.age of Conan goldIn English speaking country, they used to say high or fees rather than expensive or cheap fees. So expensive should be replaced by high.(3) Some university graduates find that the opportunities to get a good job are becoming smaller and smaller. Opportunity usually used along with the word such as rare, scanty, and poor. The word smaller should be replaced by poorer.twelve sky gold
Ответить