LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [Resolved] 403 error - symlink - phpmyadmin

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2010, 02:04 PM
whey whey is offline
Member
 
Join Date: Dec 2008
Posts: 14
Default [Resolved] 403 error - symlink - phpmyadmin

Trying to connect to phpmyadmin via symlink to mydomain.com/phpmyadmin however i encounter a 403 error. I have looked around and done some research and to no avail so I thought I would post a thread.

the link links to phpmyadmin ( /usr/share/phpmyadmin )

Cheers,
Whey

Last edited by NiteWave; 06-24-2010 at 02:26 PM..
Reply With Quote
  #2  
Old 06-23-2010, 08:14 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,220
so you did
ln -s /usr/share/phpmyadmin mydomain.com/phpmyadmin
and encountered
"HTTP Error 403 Forbidden"

may need define a alias to avoid the error.
like

alias /phpmyadmin /usr/share/phpmyadmin

in your httpd.conf
Reply With Quote
  #3  
Old 06-24-2010, 05:57 AM
whey whey is offline
Member
 
Join Date: Dec 2008
Posts: 14
where is the httpd.conf for litespeed located? Tried to look for it but could not find it other than a couple templates in the lsws conf folder.
Reply With Quote
  #4  
Old 06-24-2010, 09:50 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,220
sorry, I assumed you're in cPanel env and litespeed read apache's httpd.conf.

the equivalent of alias in litespeed's native configuration is "context" in vhost level.

add a static context:
URI:/phpmyadmin/
Location:/usr/share/phpmyadmin/

refer document:
http://www.litespeedtech.com/docs/we...onfig/context/
Reply With Quote
  #5  
Old 06-24-2010, 12:04 PM
whey whey is offline
Member
 
Join Date: Dec 2008
Posts: 14
ah so simple connection is fine after inserting the codex.

Sorry for not saying I was just using litespeed without cpanel. However we do have cpanel servers as well which we might transfer over in the near future, just testing it out on a single domain for now Thanks for the help!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:53 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.