Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^9: Missing module perl

by Corion (Pope)
on Aug 21, 2019 at 09:40 UTC ( #11104793=note: print w/replies, xml ) Need Help??

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

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.

Replies are listed 'Best First'.
Re^10: Missing module perl
by ridwan (Initiate) on Aug 21, 2019 at 10:07 UTC

    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

        Yes, i'm using Apache
        I've read the documentation

Log In?

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

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

    Results (273 votes). Check out past polls.