500 Internal Server Error on all my sub-domain - .htaccess

Am having error on sub-domain and I guess it is due to my .htaccess file. I cannot access my sub-domain at all. The main domain is working fine. just only the sub-domains are having the 500 internal error.
Internal Server Error,
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster#admin.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
how do i fix? Thanks

I went through all the .htaccess and index.php solutions for the same problem. Turns out it was simply a wildcard problem. I had the wildcard set to:
/public_html/MYDOMAIN.com
It needs to be set to:
/public_html
This fixed my problem.
Hope it helps someone with the same frustration!

Related

Cakephp Uploaded on a subdirectory is giving issues

I just completed a cakephp project with cake 2.x locally , every thing works perfectly.
Now, I moved it online and uploaded to a sub directory, http://doubleedgetechnologies.com.ng/unlimitedgrace/
but below is the error I am getting, I know is .htaccess issue, I have struggled with it for over 3 hours all to no avail.
Please help me out.
Thanks
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster#doubleedgetechnologies.com.ng 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.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
I have moved it to another server, and it works perfectly there.

406 Not acceptable error getting godaddy server

I have face a big problem, suddenly my server response "406 Not acceptable" error.
POST not working on my server.
I tried to resolve with more scripts to fix this.
I used .HTACCESS script
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
But problem not solve. I can't understand other things, and I tried to contact godaddy, but there are not option to contact them, live chat is very poor, always telling that they have huge traffic.
please can you give some proper solution for this?
The main cause of error 406 error is mod_security rules on the server. Mod_security is a security module in the Apache web server that is enabled by default on all hosting accounts.
If any website, page, or any function violates one of these rules, server may send the 406 Not Acceptable error. Mostly this error triggers when you have any insecurity in your code. You could either resolve the insecurity within your code, or turn mod_security off.Turning mod_security off could open that potentially insecure page up to malicious attacks on your site. So it is better the investigate it and fix your code.
If you have WHM access check your mod security log file. It will show you exact cause what is causing this error. You may find audit logs at
/usr/local/apache/logs/audit_log
and mode security config files at
/usr/local/apache/conf/modsec.conf
/usr/local/apache/conf/modsec.user.conf

Joomla : whenever i change URL rewriting and enable htaccess get error

My site was working fine for the last couple of months and suddenly stopped working. and the issue was backend was working fine but the front end does not load at all.
then I contacted server providers they saying they have not done any changes to the server and asking me to contact Joomla support to see any in-depth errors. they even said they cant find any issues from the logs.
Then what I did was I reinstall VirtueMart (mind you this is an e-commerce site). then it started to work again from the front end. but I realize follow on pages aren't working. so what I did was I remove url re-writing and change the .htaccess code to txt.
so the issue I am having now is I can see index.php file in the URL. but whenever I try to change use url rewriting and enable .htaccess I get this error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster#domain.au and inform them of the time the error occurred, and anything you might have done that may have caused the error.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
anyone have any ideas?
Suddenly stopped working, without any change from your end ?
Try to step backward and recall anything you did before the issues.
The virtuemart re-installation should not have any relation with the SEF settings and the htaccess.
All these seem to be a combination of different issues.
Have you made any changes on the htaccess file ?
Go in Joomla Global configuration and disable SEF settings. Set URL rewriting to No. Then try to load pages in the front-end.
If you need SEF URLs, follow these instructions about how to enable this feature in Joomla:
http://docs.joomla.org/Enabling_Search_Engine_Friendly_(SEF)_URLs

htaccess show internal server error

i have facing some problem in htaccess i can't understand what the issue is that .. i would like to make SEO friendly URLs but when i write RewriteEngine on given error show on website
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin#localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
my website folder are.
- includes
- logs
- public
and .htaccess file available on main.
and index.php available in public folder .
and htaccess file i was put in public folder same error show.
In Include folder all class has been defined.
In public folder all publicily available pages
htaccess File Code is :
RewriteEngine on
Your server doesn't have the rewrite module loaded. You'll need to make sure this is installed and that your server is configured to load it. How you do this depends on which operating system you use.
If you are using a hosting provider rather than your own server, it is likely you don't have the access necessary to do this, in this case, contact support and ask them about it.

Access denied on 1&1 server

I am having a problem with hosting a website on a 1&1 server (Bought package is SmartWeb M). I uploaded everything to the public_html folder (before you ask - yes, index.html is located in the document root and not one of the subfolders). When I then try to call the page in a browser I get the following error:
Forbidden
You don't have permission to access /index.html on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Since I couldn't find any .htaccess on forehand I created one in hope that that would fix it - nothing.
I have been waiting for an answer from the 1&1 help desk in more than 3 days now and I am moderately angry at their service.
Could anyone help me with this?
Thanks!
It turns out, that my files did have the wrong permissions. Make sure to get them to -755!

Resources