nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

xampp alias directive how to ??

This is a discussion on xampp alias directive how to ?? within the Web servers forums, part of the Mastering Servers category; I've already installed and successfully run Xampp on my Fedora9. I made a symbolic link to my web folder on ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 24-08-2008, 05:01 PM
Junior Member
User
 
Join Date: Apr 2008
OS: Fedora 8
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
demuytree is on a distinguished road
Default xampp alias directive how to ??

I've already installed and successfully run Xampp on my Fedora9.
I made a symbolic link to my web folder on htdocs
cd /opt/lampp/htdocs
ln -s ~/myweb web
But when I run my site form : http://localhost/web
It return .
Forbidden

You don't have permission to access /web on this server.


I tried to configure /opt/lampp/etc/httpd.conf
I added these line at the end of this file


Code:
 <IfModule alias_module>
    Alias /web ~/myweb
    ScriptAlias /cgi-bin/ "/opt/lampp/cgi-bin/"
</IfModule>

   <Directory ~/myweb>
    Allow from 127.0.0.1
    Allow from all
    </Directory>
But the same error !!

Forbidden

You don't have permission to access /web on this server.


I don't know why ?? anyone please help ^^
Reply With Quote
  #2 (permalink)  
Old 25-08-2008, 01:01 AM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Do you see any additional error in error log or access log file?
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #3 (permalink)  
Old 27-08-2008, 10:59 PM
Junior Member
User
 
Join Date: Apr 2008
OS: Fedora 8
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
demuytree is on a distinguished road
Default

Quote:
[Sun Aug 24 18:44:32 2008] [error] [client 127.0.0.1] Symbolic link not allowed or link target not accessible: /opt/lampp/htdocs/myweb
here is my log errors (
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
alias database error rbizzell All about FreeBSD/OpenBSD/NetBSD 2 04-11-2006 08:40 PM
how do i assign an alias in rcconf with freebsd All about FreeBSD/OpenBSD/NetBSD 1 10-01-2006 06:21 PM
freebsd create alias ipaddres All about FreeBSD/OpenBSD/NetBSD 1 10-01-2006 06:13 PM
freebsd ifconfig alias up ioctl siocaifaddr file exists erro ZigZag All about FreeBSD/OpenBSD/NetBSD 1 23-12-2005 04:49 PM


All times are GMT +5.5. The time now is 01:48 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38