Menu

#129 File not found when using https

0.9
closed
nobody
None
1
2020-06-26
2013-10-30
Anonymous
No

The version 0.8 is working greate with http://. When I tried to use https:// it returns Not found error for any link. I already set https in IPAM settings. Please see attached photo for details.
All my other tools can run on both http and https without any issue.
Can you have a check?

1 Attachments

Discussion

  • Miha Petkovsek

    Miha Petkovsek - 2013-10-30

    Hi, have just checked and have no problems on 2 servers on FF and Safari.

    Which apache version are you using? If I understand correctly main page works, further links do not?

    Can you see anything in apache logs?

     
  • Anonymous

    Anonymous - 2013-10-31

    Hi Miha,
    My apache details are
    Server version: Apache/2.2.14 (Ubuntu)
    Server built: Mar 8 2013 16:42:47

    Server Ubuntu 10.04

    Log in /var/log/apache2/error.log
    [Thu Oct 31 15:10:04 2013] [error] [client 10.1.0.92] File does not exist: /var/www/ipam/logout, referer: https://xxxxxxxxxxxxxxxx/ipam/
    [Thu Oct 31 15:10:15 2013] [error] [client 10.1.0.92] File does not exist: /var/www/ipam/login

    I just updated to version 09 and still the same issue. The error happens from login page.
    Thank you for your quick response.

     
  • Anonymous

    Anonymous - 2013-10-31

    Hi Miha,
    Just for your information that I'm usign self-signed certificate. Not sure that could cause the issue.
    Ken

     
  • Miha Petkovsek

    Miha Petkovsek - 2013-11-13

    Hi, self-signed should not cause problems.

    If you create file test.php under phpipam root directory, can you access it via http and https? Just add <?php print "ok"; ?> in file to test it.

    http://ip/ipam/test.php

     
  • Anonymous

    Anonymous - 2013-11-14

    Hi Miha,
    I create a test file as you suggested and it works for both http and https (see attachments). The fact that I have many other tools on the same server which working fine with https. I think the .htaccess rewrite issue on my server version.
    Really appreciate your time

     
  • Anonymous

    Anonymous - 2013-12-11

    Hi Miha,
    I still have the same problem with https after upgrading to 0.9. Did you get chance to have a look?
    Thanks.
    Ken

     
  • Miha Petkovsek

    Miha Petkovsek - 2014-03-17

    Hi, can you try on version 1.0?

    brm

     
  • Tim Gold

    Tim Gold - 2014-05-18

    Hi.
    Having the same issue on ver 1.0.
    Activated https, but when trying to go to https://my-server/phpipam/, I get not found error.
    my logs:
    administrator@IPAM:~$ cat /var/log/apache2/error.log
    ~omitted~
    [Sun May 18 18:27:51 2014] [error] [client 172.20.70.106] File does not exist: /var/www/phpipam/login
    [Sun May 18 18:35:04 2014] [error] [client 172.20.70.106] File does not exist: /var/www/phpipam/login
    administrator@IPAM:~$ cat /var/log/apache2/ssl_access.log
    ~omitted~
    172.20.70.106 - - [18/May/2014:18:27:51 +0300] "GET /phpipam/login/ HTTP/1.1" 404 692 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0"
    172.20.70.106 - - [18/May/2014:18:35:04 +0300] "GET /phpipam/login/ HTTP/1.1" 404 2258 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0"

    http access without https has no problems.

    thanks ahead,
    Tim

     
  • Tim Gold

    Tim Gold - 2014-05-19

    Hi
    I did the following and now the phpipam works with ssl on version 1.
    I have edited the file /etc/apache2/sites-enabled/default-ssl, and added the following to the file:
    <Directory var="" www="" phpipam="">
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    Then I have restarted the apache.
    the HTTPS works now.

    Thanks,
    Tim

     
  • Anonymous

    Anonymous - 2015-09-28

    I had the same problem on V 1.1

    Solution: Change the Document Root from

    /var/www/phpipam

    to

    /var/www

    and use

    <Directory var="" www="" phpipam="">
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    good luck

     
  • Miha Petkovsek

    Miha Petkovsek - 2016-02-02
    • Status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.