-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Several 404 errors #4054
Comments
Not sure what is the problem exactly, but
|
Hi, |
There is no |
But... do I have to create |
That is your proxy problem which maybe always assume every time you visit |
Had the same issue as above but thanks to @unknwon hint, I managed to fix the problem very easily with the following extra code in the .htaccess folder as shown below.
Note: I run mine in a subfolder and not subdomain i.e. https://example.com/gogs To do this, just create a gogs folder (or whatever you want to call it) in your site root, then add the .htaccess file as shown above. Don't forget to update the ROOT_URL in the app.ini file to point to the full URL. The actual thing which fixes it is, removing Directory Indexing i.e. removing index.html index.php and so forth from the config. Hope this helps anyone else suffering the same issue. Sources |
In your configuration,
the line "RewriteEngine On“ is a silent misconfiguration. This means adding it to your system will not change any system behavior. More importantly, the default value of “RewriteEngine" is already an "off", so from a security side, deleting “RewriteEngine On” would be ideal. The related Apache source code snippet:
|
Hi,
[x]
):Description
(Please note that I have not much experience with server administration, Plex, nginx, ...)
I have a Server with Plex (nginx enabled) and want to use gogs for some Git repositories. I installed gogs and configured it based on this: https://gogs.io/docs/intro/faqs.html#how-do-i-use-apache-2-with-reverse-proxy%3F .
Here some information:
app.ini
Additional Apache directives (Plesk)
I use nginx too. Proxy mode is enabled in the Plesk settings.
I get several 404 errors while browsing through gogs on my server. One example is the "Dashboard" page. The server outputs:
Same happens if I create a repository or click on a repository link.
Can you help me?
The text was updated successfully, but these errors were encountered: