ididntdoit
Technical User
Hi,
I am trying to get Apache::Sandwich working. I'm comming from a windows environment so i'm knew to .htaccess file. I need to do this using .htaccess as i don't want to play with the apache config file. At the moment i have the module installed ok. I installed the module using webmin and webmin reported a sucessful install. I will use base paths to give you an idea of what files are placed where.
The directory i want to apply the sandwich to is
/home/httpd/html/members/
and every sub-directory inside that directory. So i have placed a .htaccess file inside the members directory with the following information
SetHandler perl-script
PerlHandler Apache::Sandwich
PerlSetVar HEADER "/header.html"
PerlSetVar FOOTER "/footer.html"
When i try and call a file from within this directory (eg - /home/httpd/html/members/index.html)i get a standard microsoft page with the following header
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Incidently i have placed the header and footer.html pages inside the members directory. Is this correct according to the position of the .htaccess file?
Has anyone any idea of what the problem is.
Thanks
I am trying to get Apache::Sandwich working. I'm comming from a windows environment so i'm knew to .htaccess file. I need to do this using .htaccess as i don't want to play with the apache config file. At the moment i have the module installed ok. I installed the module using webmin and webmin reported a sucessful install. I will use base paths to give you an idea of what files are placed where.
The directory i want to apply the sandwich to is
/home/httpd/html/members/
and every sub-directory inside that directory. So i have placed a .htaccess file inside the members directory with the following information
SetHandler perl-script
PerlHandler Apache::Sandwich
PerlSetVar HEADER "/header.html"
PerlSetVar FOOTER "/footer.html"
When i try and call a file from within this directory (eg - /home/httpd/html/members/index.html)i get a standard microsoft page with the following header
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Incidently i have placed the header and footer.html pages inside the members directory. Is this correct according to the position of the .htaccess file?
Has anyone any idea of what the problem is.
Thanks