Home » Eclipse Projects » Babel » Babel server documentation
Babel server documentation [message #19932] |
Thu, 25 September 2008 11:25 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hi,
it seems the Eclipse Babel instance uses .htaccess files or does
rewrites from the Apache config file.
Would it be ok to share those files or the conditional rules on the
Babel server development wiki page ?
Thanks,
Antoine
|
|
| | | |
Re: Babel server documentation [message #20082 is a reply to message #20048] |
Fri, 26 September 2008 06:25 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
> Sorry, that sounds a bit dry :-) What I meant was, what problem are you
> encountering to consider rewrites an issue?
No problem, I'm just looking for an elegant way to hide base.conf.
If it was just me, I would move it to /etc.
When trying to type its URL on babel, I get a 404, so either there is a
rewrite rule here, or you moved base.conf.
and how do you hide folder pages (for example someone trying this trick:
http://babel.eclipse.org/babel/js) ?
That might be really basic knowledge.
Thanks,
Antoine
|
|
|
Re: Babel server documentation [message #21324 is a reply to message #20082] |
Fri, 26 September 2008 13:30 |
Eclipse Webmaster Messages: 607343 Registered: July 2009 |
Senior Member |
|
|
Antoine Toulme wrote:
>> Sorry, that sounds a bit dry :-) What I meant was, what problem are you
>> encountering to consider rewrites an issue?
> No problem, I'm just looking for an elegant way to hide base.conf.
>
> If it was just me, I would move it to /etc.
>
> When trying to type its URL on babel, I get a 404, so either there is a
> rewrite rule here, or you moved base.conf.
>
> and how do you hide folder pages (for example someone trying this trick:
> http://babel.eclipse.org/babel/js) ?
>
> That might be really basic knowledge.
>
> Thanks,
>
> Antoine
The server's base.conf is outside of the DocumentRoot, so it is not
accessible.
DocumentRoot = /home/data/httpd/babel.eclipse.org/html/
base.conf = /home/data/httpd/babel.eclipse.org/base.conf
We also disable Indexes so you can't get a listing of files in directories
<Directory "/home/data/httpd/babel.eclipse.org/html/">
Options -Indexes -FollowSymLinks
You get good performance gains by specifying AllowOverride None (thus
disabling .htaccess files), in that Apache does not crawl the directory
tree looking for .htaccess files.
|
|
|
Re: Babel server documentation [message #21330 is a reply to message #21324] |
Fri, 26 September 2008 15:35 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
> The server's base.conf is outside of the DocumentRoot, so it is not
> accessible.
>
> DocumentRoot = /home/data/httpd/babel.eclipse.org/html/
> base.conf = /home/data/httpd/babel.eclipse.org/base.conf
>
> We also disable Indexes so you can't get a listing of files in directories
> <Directory "/home/data/httpd/babel.eclipse.org/html/">
> Options -Indexes -FollowSymLinks
>
>
> You get good performance gains by specifying AllowOverride None (thus
> disabling .htaccess files), in that Apache does not crawl the directory
> tree looking for .htaccess files.
Thank you, that was the info I was after.
|
|
|
Re: Babel server documentation [message #21335 is a reply to message #21330] |
Fri, 26 September 2008 23:29 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Denis, I think this info is missing from the wiki page:
http://wiki.eclipse.org/Babel_/_Server_Tool_Development_Proc ess
In particular the page says:
Alias /babel "/var/www/babel/server/html/"
<Directory "/var/www/babel/server/html/">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
But since it is the documentRoot, why go about defining an alias ?
I think that's what threw me off, I have no good knowledge of Apache and
wouldn't have been too sure where to place the DocumentRoot.
Thanks,
Antoine
|
|
| | | | |
Re: Babel server documentation [message #574040 is a reply to message #20048] |
Fri, 26 September 2008 06:25 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
> Sorry, that sounds a bit dry :-) What I meant was, what problem are you
> encountering to consider rewrites an issue?
No problem, I'm just looking for an elegant way to hide base.conf.
If it was just me, I would move it to /etc.
When trying to type its URL on babel, I get a 404, so either there is a
rewrite rule here, or you moved base.conf.
and how do you hide folder pages (for example someone trying this trick:
http://babel.eclipse.org/babel/js) ?
That might be really basic knowledge.
Thanks,
Antoine
|
|
|
Re: Babel server documentation [message #574057 is a reply to message #20082] |
Fri, 26 September 2008 13:30 |
Eclipse Webmaster Messages: 607343 Registered: July 2009 |
Senior Member |
|
|
Antoine Toulme wrote:
>> Sorry, that sounds a bit dry :-) What I meant was, what problem are you
>> encountering to consider rewrites an issue?
> No problem, I'm just looking for an elegant way to hide base.conf.
>
> If it was just me, I would move it to /etc.
>
> When trying to type its URL on babel, I get a 404, so either there is a
> rewrite rule here, or you moved base.conf.
>
> and how do you hide folder pages (for example someone trying this trick:
> http://babel.eclipse.org/babel/js) ?
>
> That might be really basic knowledge.
>
> Thanks,
>
> Antoine
The server's base.conf is outside of the DocumentRoot, so it is not
accessible.
DocumentRoot = /home/data/httpd/babel.eclipse.org/html/
base.conf = /home/data/httpd/babel.eclipse.org/base.conf
We also disable Indexes so you can't get a listing of files in directories
<Directory "/home/data/httpd/babel.eclipse.org/html/">
Options -Indexes -FollowSymLinks
You get good performance gains by specifying AllowOverride None (thus
disabling .htaccess files), in that Apache does not crawl the directory
tree looking for .htaccess files.
|
|
|
Re: Babel server documentation [message #574085 is a reply to message #21324] |
Fri, 26 September 2008 15:35 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
> The server's base.conf is outside of the DocumentRoot, so it is not
> accessible.
>
> DocumentRoot = /home/data/httpd/babel.eclipse.org/html/
> base.conf = /home/data/httpd/babel.eclipse.org/base.conf
>
> We also disable Indexes so you can't get a listing of files in directories
> <Directory "/home/data/httpd/babel.eclipse.org/html/">
> Options -Indexes -FollowSymLinks
>
>
> You get good performance gains by specifying AllowOverride None (thus
> disabling .htaccess files), in that Apache does not crawl the directory
> tree looking for .htaccess files.
Thank you, that was the info I was after.
|
|
|
Re: Babel server documentation [message #574111 is a reply to message #21330] |
Fri, 26 September 2008 23:29 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Denis, I think this info is missing from the wiki page:
http://wiki.eclipse.org/Babel_/_Server_Tool_Development_Proc ess
In particular the page says:
Alias /babel "/var/www/babel/server/html/"
<Directory "/var/www/babel/server/html/">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
But since it is the documentRoot, why go about defining an alias ?
I think that's what threw me off, I have no good knowledge of Apache and
wouldn't have been too sure where to place the DocumentRoot.
Thanks,
Antoine
|
|
| |
Goto Forum:
Current Time: Sat Dec 21 15:12:13 GMT 2024
Powered by FUDForum. Page generated in 0.04713 seconds
|