[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Problem with HTML::Mason configuration?
From:       David Silva <davidslv () gmail ! com>
Date:       2010-09-02 16:08:49
Message-ID: AANLkTinOQAZ8_yMPJj74X_21+YVPh8T50oZbx3-GTyFx () mail ! gmail ! com
[Download RAW message or body]

Hi, i don't know if this is the right mailing list to ask this question. If
not i'm sorry for that, and if you can help me, give me the right direction
to expose my problem.


I don't touch in perl for about.... 6months ago...

So i wanted to install and have some time programming with HTML::Mason, but
i can't figure why i'm not being successfull.

i have the website folder in /var/www/mason2010

it looks like this:
/var/www/mason2010
/var/www/mason2010/docs (in this one i have index.html)
/var/www/mason2010/mason-data

in my apache2 i tried the documentation in masonbook.com (chapter 7)

<VirtualHost mason2010:80>
ServerName mason2010
DocumentRoot /var/www/mason2010/docs/

PerlSetVar MasonCompRoot /var/www/mason2010/docs
PerlSetVar MasonDataDir /var/www/mason2010/mason-data

<LocationMatch "\.html$">

SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler

</LocationMatch>

</VirtualHost>
But no sucess... i'm becomming desesperate about this....
You can see it by going to:
http://213.22.166.109/mason2010/

this is my index.html
http://213.22.166.109/mason2010/docs/index.html

Why isn't HTML::Mason taking care of the files?

Thank you for your time, i tried to explain everything i did...

[Attachment #3 (text/html)]

Hi, i don&#39;t know if this is the right mailing list to ask this question. If not \
i&#39;m sorry for that, and if you can help me, give me the right direction to expose \
my problem.<br><br><br>I don&#39;t touch in perl for about.... 6months ago...<br>

<br>
So i wanted to install and have some time programming with HTML::Mason, 
but i can&#39;t figure why i&#39;m not being successfull.<br>
<br>
i have the website folder in /var/www/mason2010<br>
<br>
it looks like this: <br>
/var/www/mason2010<br>
/var/www/mason2010/docs (in this one i have index.html)<br>
/var/www/mason2010/mason-data <br>
<br>
in my apache2 i tried the documentation in <a \
href="http://masonbook.com">masonbook.com</a> (chapter 7)<br> <br>
&lt;VirtualHost mason2010:80&gt;<br>
   ServerName  mason2010<br>
   DocumentRoot  /var/www/mason2010/docs/<br>
<br>
   PerlSetVar  MasonCompRoot  /var/www/mason2010/docs<br>
   PerlSetVar  MasonDataDir   \
/var/www/mason2010/mason-data<blockquote>&lt;LocationMatch  \
&quot;\.html$&quot;&gt;<blockquote>SetHandler   perl-script<br> PerlHandler  \
HTML::Mason::ApacheHandler<br> </blockquote>&lt;/LocationMatch&gt;<br>
</blockquote>&lt;/VirtualHost&gt;<br>
But no sucess... i&#39;m becomming desesperate about this....<br>
You can see it by going to:<br>
<a href="http://213.22.166.109/mason2010/" \
target="_blank">http://213.22.166.109/mason2010/</a><br> <br>
this is my index.html<br>
<a href="http://213.22.166.109/mason2010/docs/index.html" \
target="_blank">http://213.22.166.109/mason2010/docs/index.html</a><br> <br>
Why isn&#39;t HTML::Mason taking care of the files?<br clear="all"><br>Thank you for \
your time, i tried to explain everything i did...<br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic