Windows VLC web server with http-handlers, perl?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
jimmyo
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Sep 2007 22:13

Windows VLC web server with http-handlers, perl?

Postby jimmyo » 16 Feb 2008 15:00

Hello - I am trying to set up VLC to execute .pl files using -http-handlers.

I am using Windows XP SP2. I have perl.exe installed at C:\Perl\bin\perl.exe

I am using the following command line to start VLC

vlc F:\DVD\File --loop --intf wx --extraintf http --http-host 0.0.0.0:80 --http-handlers pl=C:\Perl\bin\perl.exe --volume=1023 --sout=#duplicate{dst=std{access=mmsh,mux=asfh,dst=:1235}}

I have a simple perl script, called perltest.pl stored in:
C:\Program Files\VideoLAN\VLC\http\perltest.pl

When I go to:
http://localhost/perltest.pl

I get the following web page error message in the browser window:

Error loading C:\Program Files\VideoLAN\VLC\http\perltest.pl
for /perltest.pl

Can anybody help me with how I may have the system mis-configured? I've tested perl.exe separately and that works properly.

...Jim

jimmyo
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Sep 2007 22:13

Re: Windows VLC web server with http-handlers, perl?

Postby jimmyo » 19 Feb 2008 01:12

ok I figured it out. Because I'm using windows I had to use the following in the commandline:
http-handlers="pl=C:\\Perl\\bin\\perl.exe"

Jim


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 56 guests