novafacile / novagallery

novaGallery - a beautiful and and ease to use php image gallery for your photos - flat file - no database required - modern responsive design
https://novagallery.org
GNU Affero General Public License v3.0
74 stars 11 forks source link

404. always #23

Closed slavamas closed 1 year ago

slavamas commented 1 year ago

I seems followed all your explanations, but it keeps giving me 404. always.

david-novafacile commented 1 year ago
slavamas commented 1 year ago

so far I am trying it out on my local virtual machine, so I have full, root access to it. when (and if) I get it working - it will be running on public server, which I have full access to - self installed ubuntu 20.4 Apache subfolder

On Sat, Oct 8, 2022 at 1:25 AM David @.***> wrote:

  • Do you use a webspace provider or a self installed server?
  • Apache or nginx?
  • installed on root Domain or in subfolder (e.g. yourdomain.tld/gallery)

— Reply to this email directly, view it on GitHub https://github.com/novafacile/novagallery/issues/23#issuecomment-1272264155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELNG4L4J6XP7I2MO4BG7R3WCEVX7ANCNFSM6AAAAAAQ77BEFM . You are receiving this because you authored the thread.Message ID: @.***>

david-novafacile commented 1 year ago

Most times it's one or both problemes:

Please check in Apache config.

Take a look to these links: https://github.com/novafacile/novagallery/issues/4#issuecomment-1024972579

slavamas commented 1 year ago

OK.

  1. no, I am not using .htaccess
  2. for either problem - why then does it say : 404? because it cannot find .htaccess file?

On Sat, Oct 8, 2022 at 10:36 AM David @.***> wrote:

Most times it's one or both problemes:

  • htaccess support is not enabled
  • mod_rewrite is not enabled.

Please check in Apache config.

4 (comment)

https://github.com/novafacile/novagallery/issues/4#issuecomment-1024972579

— Reply to this email directly, view it on GitHub https://github.com/novafacile/novagallery/issues/23#issuecomment-1272365143, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELNG4JA2M3B6PYT63MDSC3WCGWJNANCNFSM6AAAAAAQ77BEFM . You are receiving this because you authored the thread.Message ID: @.***>

slavamas commented 1 year ago

and, I am sorry, perhaps, I missed/misunderstood something, but I don't think your instructions say a word about htaccess or mod_rewrite

On Sat, Oct 8, 2022 at 10:39 AM sma @.***> wrote:

OK.

  1. no, I am not using .htaccess
  2. for either problem - why then does it say : 404? because it cannot find .htaccess file?

On Sat, Oct 8, 2022 at 10:36 AM David @.***> wrote:

Most times it's one or both problemes:

  • htaccess support is not enabled
  • mod_rewrite is not enabled.

Please check in Apache config.

4 (comment)

https://github.com/novafacile/novagallery/issues/4#issuecomment-1024972579

— Reply to this email directly, view it on GitHub https://github.com/novafacile/novagallery/issues/23#issuecomment-1272365143, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELNG4JA2M3B6PYT63MDSC3WCGWJNANCNFSM6AAAAAAQ77BEFM . You are receiving this because you authored the thread.Message ID: @.***>

david-novafacile commented 1 year ago

Enabled htaccess support and mod_rewrite are mentioned in the requirements. This is part of the basic server setup of Apache with PHP and is required by any PHP program that uses real/speaking/full URLs.

The .htaccess file is in the root directory of novagallery, where the index.php is.

https://github.com/novafacile/novagallery/tree/main/src

david-novafacile commented 1 year ago

Do you see only 404 (Even on the first request) or do you see the first page and if you click on an album you see the 404?

Monarch73 commented 1 year ago

@david-novafacile 404 is displayed when you explicitly request index.php from your server

@slavamas just don't request index.php directly....