Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^8: Missing module perl

by ridwan (Initiate)
on Aug 21, 2019 at 09:33 UTC ( #11104792=note: print w/replies, xml ) Need Help??

in reply to Re^7: Missing module perl
in thread Missing module perl

if i access http://localhost:80 isn't connect, but if i set http://my-ip-addres-vbox is work.

I set file:// in urllist in cpan development ?

Replies are listed 'Best First'.
Re^9: Missing module perl
by Corion (Pope) on Aug 21, 2019 at 09:40 UTC

    Yes, you use file:// where you would otherwise use http://.

    If you see your CPAN mirror using http://my-ip-addres-vbox in the browser, then the web server configuration you've shown does not match the actual configuration:

    <VirtualHost localhost:80>

    This means that the web server will only run in your virtual box and only listen to the localhost interface there.

    Do you want to make the CPAN mirror available within that virtual box, or to machines outside of that virtual box? If you want to make it available outside of that virtual box, file:// will not work. Then you will need to use http://, but the web server configuration you've shown does not look as if the web server (or rather, the CPAN mirror part of that webserver) would be reachable from outside that virtual box.

      so, what do I need to set in the web server configuration to be accessed virtual host?

        I don't know. You have not told us what webserver you are using and what the exact situation is. Configuring a web server is not really the central focus of this website. If you are running Apache, I suggest reading the documentation at

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11104792]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2019-09-21 13:52 GMT
Find Nodes?
    Voting Booth?
    The room is dark, and your next move is ...

    Results (273 votes). Check out past polls.