分享

写回答

发帖

[提问] godaddy linux空间的伪静态问题

回答|共 42 个

victor2020

发表于 2009-12-24 15:39:55 | 显示全部楼层

斑竹,网站已经出现了.html的连接了,应该是说明伪静态生效了吧?但是连接页面打开不了,请问是什么问题呢?http://www.eallbay.com/products/MacBook-Pro.html

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



--------------------------------------------------------------------------------

Apache/1.3.33 Server at www.eallbay.com Port 80

add.c

发表于 2009-12-24 15:41:13 | 显示全部楼层

把其他地方的.htaccess屏蔽掉试试

把/eall改为/eall/
RAKSmart

victor2020

发表于 2009-12-24 16:10:26 | 显示全部楼层

斑竹,我的根目录下是没有.htaccess这个文件的,只有/eall这个文件夹下才有.htaccess这个文件,然后我现在把/eall改为/eall/了,结果还是: http://www.eallbay.com/products/MacBook-Pro.html

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



--------------------------------------------------------------------------------

Apache/1.3.33 Server at www.eallbay.com Port 80

add.c

发表于 2009-12-24 16:15:45 | 显示全部楼层

不好意思  
      # RewriteBase /
要改为   RewriteBase /eall
刚才忘记把前面的#去掉了

victor2020

发表于 2009-12-24 16:45:05 | 显示全部楼层

好的,斑竹,我再试一下

victor2020

发表于 2009-12-24 16:52:10 | 显示全部楼层

Options -MultiViews +FollowSymlinks -Indexes

# Force 401 pages to use a valid error document
# so they do not fall back to the 404 which is
# triggered by ISC. This allows HTTP Auth to work
# correctly
ErrorDocument 401 "Unauthorized access"

<IfModule mod_security.c>
        # Turn off mod_security filtering.
        SecFilterEngine Off

        # The below probably isn't needed, but better safe than sorry.
        SecFilterScanPOST Off
</IfModule>

<IfModule mod_rewrite.c>
        RewriteEngine On
        # If your server is running PHP in CGI mode you will probably need to uncomment the following lines
        # Only uncomment lines that begine with Rewrite

        # The RewriteBase should be set to the same value as the AppPath setting in your config.php WITH a / on the end
        RewriteBase /eall

        # This rewrite base rule is only required if you are getting 401 unauthorized errors when placing an order with Google Checkout
        # RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
        #
        # Alternatively, if the above does not work, try uncommenting this line below instead:
        # SetEnvIfNoCase Authorization "Basic ([a-z0-9=]+)" REMOTE_AUTHORIZATION=$1

        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule . index.php
        <IfModule mod_env.c>
                SetEnv SEO_SUPPORT 1
        </IfModule>
</IfModule>

<IfModule mod_deflate.c>
        AddOutputFilterByType DEFLATE application/x-javascript text/css text/html text/xml
</IfModule>

斑竹,请问是这样的吗,还有其它地方需要改吗?

add.c

发表于 2009-12-24 17:09:35 | 显示全部楼层

是的,如果还有错误你按照上面的注释修改就行了
RAKSmart

victor2020

发表于 2009-12-24 17:27:13 | 显示全部楼层

斑竹,依旧有错误,请继续指导,多谢,辛苦了!

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



--------------------------------------------------------------------------------

Apache/1.3.33 Server at www.eallbay.com Port 80

add.c

发表于 2009-12-24 17:31:58 | 显示全部楼层

  你把帐号密码发来等会我帮你设置吧

victor2020

发表于 2009-12-24 17:37:12 | 显示全部楼层

是godaddy的空间帐号和密码吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则