I installed D10 with composer on m LEAP 15.4 lLinux system. 

I can access it externally using https://my_domain_name/drupal/web

But if I try to log in, I get access denied.

I can log in using https://localhost/drupal/web    from the Linux box

I cannot log in using https://192.168.1.5/drupal/web    which is the internal address of the Linux machine from the Linux machine

What can I be doing wrong?

Comments

tjtj’s picture

The install program logged me in, so I thought that localhost worked.

But https://localhost/drupal/web/user/login says object not found.

slewazimuth’s picture

Did you try https://my_domain_name/drupal/web/user/login?

tjtj’s picture

Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404

Could it be the .htaccess file?

slewazimuth’s picture

The "install-dir" as in composer create-project drupal/recommended-project:10.0.0 "install-dir" is named by me which makes the Web directory inside of that. So if have a folder named "fred" and name the "install-dir" as "fred_dir", composer will create a Drupal 10 site there. Therefore, I would expect to find a Directory named Web inside of fred_dir created by composer.

tjtj’s picture

I did move a folder

tjtj’s picture

Still cannot access the login page. 404: Object not found

But web never appears in drupal page URLs, so something is not right

The composer installation did NOT create a .htaccess file on the root drupal page!

Fixed. Needed

AllowOverride all

in vhost.conf file