Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

problem with Alias

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
problem with /manual/ alias - Hi, I have a problem that doesn't seem to have been covered by the usual google search.. I can't get alias to work, not my own creations mind, but the ones built in such as /manual/ which I is supposed to diplay the that is..

an alias for use a dll as a cgi ! - Hello, I don't find this option in Apache : how to use a .dll and alias it as a .cgi. Example :I want to be alias and named in I found it on Alibaba server : it names DLL alias you enter an Alias:..

Alias in .htaccess - Hi, I have a problem with the . htaccess file. In I define an alias (it's working well). But when I define the same alias in .htaccess is set to All in it doesn't work. What could be the error? I'm using Apache..

Alias match? or what? - Hello! We recently the domain to our servers and recreated their web page. Not that the above matters very much, but at least you have a better idea why I am getting the errors that I am. The errors follow- ..

Apache - Alias - hey:), Problem in So, I have 2 (or more) outside of htdocs tree, for example: how can i obtain listing like that after request Index of /dirs Name ..
Next:  Apache: Problems with mod_rewrite  
Author Message
fmeschini

External


Since: Oct 15, 2003
Posts: 2



(Msg. 1) Posted: Wed Oct 15, 2003 11:32 pm
Post subject: problem with Alias
Archived from groups: alt>apache>configuration (more info?)

Hi all,

I've managed to configure Apache with Tomcat so to use the Cocoon
framework for the publishing of an e-magazine..

I would like to make available the directory of the magazine (situated
in the %CATALINA_HOME%\webapps\cocoon\magazine folder) under the site
main route, as for example www.mysite.com/magazine.

So I've used the Alias command in the file httpd.conf:

Alias /magazine %CATALINA_HOME%\webapps\cocoon\magazine

But if I try to access at www.mysite.com/magazine I get the following
response from Apache:

403 Forbidden
You don't have permission to access /magazine on this server.
Apache/2.0.45 (Win32) PHP/4.3.2 mod_jk/1.2.0 Server at www.mysite.com
Port 80

Which could be the problem?!?!

Thank you
Federico

 >> Stay informed about: problem with Alias 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Thu Oct 16, 2003 8:50 am
Post subject: Re: problem with Alias [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Federico <fmeschini DeleteThis @tin.it> wrote:
 > 403 Forbidden
 > You don't have permission to access /magazine on this server.
<font color=purple> > Apache/2.0.45 (Win32) PHP/4.3.2 mod_jk/1.2.0 Server at <a style='text-decoration: underline;' href="http://www.mysite.com</font" target="_blank">www.mysite.com</font</a>>
 > Port 80
 > Which could be the problem?!?!

Add a
<Location /magazine>
Order allow, deny
Allow from all
</Location>
directive in your configuration file. See the documentation about the
Location directive.

Davide<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: problem with Alias 
Back to top
Login to vote
fmeschini

External


Since: Oct 15, 2003
Posts: 2



(Msg. 3) Posted: Fri Oct 17, 2003 9:47 pm
Post subject: Re: problem with Alias [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I've tried but it doesn't work,

When i put the location directive in the http.conf file and try to
restart Apache, there is an Error and the message "Failed to restart
the service".

If I took away the location directive all works perfectly.

It should be a very stupid and little detail, but which detail !??!?
Smile

Bye and good Week End
Fede

On 16 Oct 2003 05:50:44 GMT, Davide Bianchi
<davideyeahsure.TakeThisOut@onlyforfun.net> wrote:

 >Federico <fmeschini.TakeThisOut@tin.it> wrote:
  >> 403 Forbidden
  >> You don't have permission to access /magazine on this server.
<font color=green>  >> Apache/2.0.45 (Win32) PHP/4.3.2 mod_jk/1.2.0 Server at <a style='text-decoration: underline;' href="http://www.mysite.com</font" target="_blank">www.mysite.com</font</a>>
  >> Port 80
  >> Which could be the problem?!?!
 >
 >Add a
 ><Location /magazine>
 >Order allow, deny
 >Allow from all
 ></Location>
 >directive in your configuration file. See the documentation about the
 >Location directive.
 >
 >Davide<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: problem with Alias 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 4) Posted: Sat Oct 18, 2003 1:48 pm
Post subject: Re: problem with Alias [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Federico <fmeschini DeleteThis @tin.it> wrote:
 > restart Apache, there is an Error and the message "Failed to restart
 > the service".

Try using apachectl configtest to check the correctness of the
configuration file.

Davide<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: problem with Alias 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]