How To Install PHP 7.4 and PHP 7.3 ON Ubuntu 18.04/19.04/16.04

banner image

USVN 404 forbidden and 500 Internal server Error

Introduction : 

USVN server major two error
- 404 Forbidden
- 500 Internal

Error Occur : 

1) 404 forbidden Error during 1st time checkout SVN repo from USVN server

After successfully installing the server USVN, if you receive the error 404 forbidden during the new SVN repo checkout

Solution: Always add svn repo in project group.



2) 500 Internal Error in response to POST request for '/usvn/svn/test/!svn/me' 1st time commit

After successful completion of the check svn repo folder. When it comes to commit your files on the SVN server, you will find error 500 Internal

Solution :Make changes under the public folder’s htaccess. file location usvn/scr/public/.htaccess


<Files *.ini>
Order Allow,Deny
Deny from all
</Files>

php_flag short_open_tag on
php_flag magic_quotes_gpc off

RewriteEngine on
#RewriteCond
RewriteBase "//usvn/"
RewriteRule ^svn/ - [L,NC] #this is the rule I added to fix the 500 errors
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

Thanks for being here
USVN 404 forbidden and 500 Internal server Error USVN 404 forbidden and 500 Internal server Error Reviewed by Raj on October 21, 2018 Rating: 5

No comments:

Powered by Blogger.