Skip to content
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

The requested URL was not found on this server. #548

Open
rfrancocantero opened this issue Feb 24, 2021 · 5 comments
Open

The requested URL was not found on this server. #548

rfrancocantero opened this issue Feb 24, 2021 · 5 comments

Comments

@rfrancocantero
Copy link

rfrancocantero commented Feb 24, 2021

Hi,
I have a freshly installed Stikked environment.

I installed it in the directory

/var/www/html/pastebin

the content of the directory is:

`
drwxr-xr-x 5 www-data www-data 4096 Feb 24 20:15 .

drwxr-xr-x 4 www-data www-data 4096 Feb 24 20:14 ..

-rw-r--r-- 1 www-data www-data 5844 Nov 24 2019 AUTHORS.md

-rw-r--r-- 1 www-data www-data 6982 Nov 24 2019 CC0

-rw-r--r-- 1 www-data www-data 11365 Nov 24 2019 README.md

drwxr-xr-x 3 www-data www-data 4096 Feb 24 20:14 doc

drwxr-xr-x 3 www-data www-data 4096 Feb 24 20:14 docker

-rw-r--r-- 1 www-data www-data 819 Nov 24 2019 docker-compose.yml

drwxr-xr-x 6 www-data www-data 4096 Feb 24 20:14 htdocs

`

My stikked.php

`
*/
$config['site_name'] = 'Stikked';

/**

  • Base URL
  • Set the base URL of Stikked. WITH trailing slash!

*/
$config['base_url'] = 'http://domain.com/pastebin/htdocs/';

/**
`

So, the frontpage works. But, when clicking CREATE, or when clicking RECENT, TRENDING, API or ABOUT, it all gives a 404 error page not found. I can't get my head around it. Can someone help me please?

@The-Compiler
Copy link
Collaborator

The-Compiler commented Feb 24, 2021

Why the /htdocs in base_url?

@rfrancocantero
Copy link
Author

It tried with / without but no luck. This was the latest version before posting it here.

@The-Compiler
Copy link
Collaborator

I'm not talking about the /, I'm talking about the htdocs part. Do you to to http://domain.com/pastebin/htdocs/ to access your stikked instance?

@rfrancocantero
Copy link
Author

Yes I do, but I also tried installing it in the root folder of var/www/html and changing the base url. Same result. Front page works, rest doesn't.

@tcreek
Copy link

tcreek commented Mar 3, 2021

This is NOTABUG.

Its your misconfiguration. You need to set a DocumentRoot = something like /var/www/html/pastebin/htdocs
Then set base URL to something like "http://mypaste.com"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants