简体   繁体   中英

Php Url Parameters and BlueHost

I am having troubles using my url parameters to write to a blue host DB.

As soon as I pass parameters into the url I get a server error(500) .

I am also not receiving any error reports on the PHP side.

what am I doing wrong?

I have reloaded the page, cleared all cookies, and I am fairly sure it is not a gateway Timeout .

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

There are a couple more .htacces rules but those contain this:

 # Use PHP54CGI as default
 AddHandler fcgid54-script .php

# BEGIN WordPress

# END WordPress

What i suggest is using a different hosting provider as this problem is not easy to be solved. I moved my database to a different provider and it works now.

However this does not solve the problem for people who encounter the same


By any chance are you using the shared secure URL like " https://secure.bluehost.com/~userid " ?

I discovered that the .htaccess code for php 5.4:

AddHandler fcgid54-script .php

causes a failure when using the shared SSL url. Of course when you take it out, you are back on php 5.2.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM