[users@httpd] CORS (Cross Origin Resource Sharing) server side configuration

2018-04-20 Thread Valerio Pachera
Good Morning, I'm looking for documentation about setting CORS headers in apache. The problem is that I need to handle a cors request and be sure I set all the necessasary header in apache. Right now I het error 401. *Most of all, I can't find good server side documentation on how to handle CORS re

Re: [EMAIL PROTECTED] Ruby with apache

2008-09-04 Thread Valerio Pachera
2008/9/3 Staf Wagemakers <[EMAIL PROTECTED]>: > Have a lookat: > > http://ruby-doc.org/docs/ProgrammingRuby/html/web.html Thanks for the link. I gave a watch (didn't try anything yet). It seems very simple to install and configure eruby but what scare me is this sentence: "Be sure to see also the

[EMAIL PROTECTED] Ruby with apache

2008-09-03 Thread Valerio Pachera
Hi all, is long that I try to set apache so I can use web pages with ruby embeded (like php). without succes. Did any of you set apache to serve .rhtml pages? I'm working on debian lenny, I installed apache2, mod-cgi, eruby. May you tell me if I need to install anything else and, more than everyth

Re: [EMAIL PROTECTED] Re: Generic questions about apache configuration

2008-08-22 Thread Valerio Pachera
2008/8/22 Eric Covener <[EMAIL PROTECTED]>: >> Why in the second case "SetHandleer" is used instead of "Addhandler" ? > > Because the second option already has a cgi-bin/ subdirectory on the > URL -- so everyhting should be treated as CGI not just certain files. Ok, by your answer and re-reading t

[EMAIL PROTECTED] Re: Generic questions about apache configuration

2008-08-22 Thread Valerio Pachera
http://httpd.apache.org/docs/2.2/howto/cgi.html I do not understand the paragrph "User directories": quote: To allow CGI program execution for any file ending in .cgi in users' directories, you can use the following configuration. Options +ExecCGI AddHandler cgi-script .cgi If you wish design

[EMAIL PROTECTED] Re: Generic questions about apache configuration

2008-08-22 Thread Valerio Pachera
In the apache.conf of debian lenny there's not the DocumentRoot directive but I know it to be /var/www. Is that an option given at compile time or is it stored somewhere else? Thanks. - The official User-To-User support forum of

[EMAIL PROTECTED] Re: Generic questions about apache configuration

2008-08-22 Thread Valerio Pachera
Corret me if I'm wrong: rule1 rule2 rule1 is still valid for directory /a. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscri

[EMAIL PROTECTED] Generic questions about apache configuration

2008-08-21 Thread Valerio Pachera
http://httpd.apache.org/docs/2.2/sections.html quote: The directive need not have anything to do with the filesystem. For example, the following example shows how to map a particular URL to an internal Apache handler provided by mod_status. No file called server-status needs to exist in the filesy