forum.bitel.ru
http://forum.bitel.ru/

скрыть URL http://my_ip_address:8080/bgbilling/webexecuter
http://forum.bitel.ru/viewtopic.php?f=22&t=7986
Страница 1 из 1

Автор:  Sputnik [ 23 апр 2013, 11:34 ]
Заголовок сообщения:  скрыть URL http://my_ip_address:8080/bgbilling/webexecuter

Подскажите, пожалуйста, можно ли сделать так чтобы вместо url
Код:
http://my_ip_address:8080/bgbilling/webexecuter
выдавалось что-то типа
Код:
http://my_site.ru/bgbilling/webexecuter

Машина биллинга находится в нашей локальной сети. выход во внешку не имеет

Автор:  Phricker [ 23 апр 2013, 11:39 ]
Заголовок сообщения:  Re: скрыть URL http://my_ip_address:8080/bgbilling/webexecut

nginx.
на вики есть.

Автор:  Sputnik [ 23 апр 2013, 11:51 ]
Заголовок сообщения:  Re: скрыть URL http://my_ip_address:8080/bgbilling/webexecut

Вопрос в том как скрыть от пользователя ip адрес машины биллинга который отображается в адресной строке средствами апача

Автор:  skyb [ 23 апр 2013, 12:18 ]
Заголовок сообщения:  Re: скрыть URL http://my_ip_address:8080/bgbilling/webexecut

Sputnik писал(а):
Вопрос в том как скрыть от пользователя ip адрес машины биллинга который отображается в адресной строке средствами апача

а зачем обязательно апача, почему не подходит nginx как на ссылке выше?

Автор:  lda [ 23 апр 2013, 12:22 ]
Заголовок сообщения:  Re: скрыть URL http://my_ip_address:8080/bgbilling/webexecut

У нас настроено так:
Код:
<VirtualHost *:80>
        ServerAdmin admin@xxx.ru

        ProxyRequests       Off
        ProxyPreserveHost   On
        ServerName stats.xxx.ru:80

        ProxyPass               /bgbilling/ http://localhost:8080/bgbilling/
        ProxyPassReverse        /bgbilling/ http://localhost:8080/bgbilling/

        Redirect permanent /    http://stats.xxx.ru/bgbilling/webexecuter

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined

        <Location ~ "/bgbilling/webexecuter">
            Allow from all
        </Location>

        <Location ~ "/bgbilling/pdfexecuter">
            Allow from all
        </Location>

        <Location ~ "/bgbilling/pubexecuter">
            Allow from all
        </Location>

        <Location ~ "/bgbilling/help">
            Allow from all
        </Location>

        <Location ~ "/bgbilling/style.css">
            Allow from all
        </Location>

        <Location ~ "/bgbilling/img">
            Allow from all
        </Location>

        <Location ~ "/bgbilling/drweb_license.pdf">
            Allow from all
        </Location>

        <Location ~ "/\.ht">
            Deny from all
        </Location>

        <Location ~ "/bgbilling/executer">
            Deny from all
        </Location>

        <Location ~ "/bgbilling/mpsexecuter">
            Deny from all
        </Location>

</VirtualHost>

localhost замените на my_ip_address

Автор:  Sputnik [ 23 апр 2013, 15:54 ]
Заголовок сообщения:  Re: скрыть URL http://my_ip_address:8080/bgbilling/webexecut

Спасибо большое.
Все как по заказу:)

Страница 1 из 1 Часовой пояс: UTC + 5 часов [ Летнее время ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/