小编Tim*_*son的帖子

通过IP地址访问时,Apache httpd错误请求 - 审查委员会

我已经设置了Review Board,从localhost访问它时工作正常.当我尝试通过ip(从LAN)访问它时,我得到了不好的请求.

我已将apache-wsgi.conf复制到我的apache conf目录中.

Apache的wsgi.conf

<VirtualHost *:8088>
    ServerName localhost
    DocumentRoot "/var/www/reviews.als.kz/htdocs"

    # Error handlers
    ErrorDocument 500 /errordocs/500.html

    WSGIPassAuthorization On
    WSGIScriptAlias "/reviews" "/var/www/reviews.als.kz/htdocs/reviewboard.wsgi/reviews"

    <Directory "/var/www/reviews.als.kz/htdocs">
            AllowOverride All
            Options -Indexes +FollowSymLinks
            Require all granted
    </Directory>

    # Prevent the server from processing or allowing the rendering of
    # certain file types.
    <Location "/reviews/media/uploaded">
            SetHandler None
            Options None

            AddType text/plain .html .htm .shtml .php .php3 .php4 .php5 .phps .asp
            AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht .jsp .sh .rb

            <IfModule mod_php5.c>
                    php_flag …
Run Code Online (Sandbox Code Playgroud)

apache ip-address bad-request review-board

3
推荐指数
1
解决办法
1980
查看次数

标签 统计

apache ×1

bad-request ×1

ip-address ×1

review-board ×1