how to alias???

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

how to alias???

Postby roosnanie » 07. June 2013 21:12

I need to make an alias for the htdocs How do I do such? I am trying to save my code to a folder (php13) that I have set up for my summer semester of PHP... :oops:
xampp version 1.0.1
macbook pro
is this the part I am to change?
Code: Select all
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs"

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features. 
#
<Directory />
    Options FollowSymLinks
    AllowOverride None
    #XAMPP
    #Order deny,allow
    #Deny from all
</Directory>

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/Applications/XAMPP/xamppfiles/htdocs">
Last edited by roosnanie on 07. June 2013 21:52, edited 3 times in total.
roosnanie
 
Posts: 6
Joined: 07. June 2013 21:08
Operating System: mac

Re: hot to alias???

Postby Altrea » 07. June 2013 21:27

We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: how to alias???

Postby roosnanie » 07. June 2013 21:38

Thanks I will take a look at it its really confusing for me... I hate getting into the configurations of stuff..
roosnanie
 
Posts: 6
Joined: 07. June 2013 21:08
Operating System: mac

Re: how to alias???

Postby roosnanie » 07. June 2013 21:57

still need help, that was ever so confusing..
roosnanie
 
Posts: 6
Joined: 07. June 2013 21:08
Operating System: mac

Re: how to alias???

Postby Altrea » 07. June 2013 22:03

We can't help you without knowing what help you exectly need.
Sadly you don't told that much since yet..
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: how to alias???

Postby roosnanie » 08. June 2013 00:37

need to make an alias for the htdocs How do I do such? I am trying to save my code to a folder (php13) that I have set up for my summer semester of PHP...
roosnanie
 
Posts: 6
Joined: 07. June 2013 21:08
Operating System: mac

Re: how to alias???

Postby Altrea » 08. June 2013 22:25

Code: Select all
Alias /php13 /path/to/folder/php13

:?:
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: how to alias???

Postby roosnanie » 09. June 2013 16:45

thanks.. im going to try that as soon as I get to work on my homework.. :-)
roosnanie
 
Posts: 6
Joined: 07. June 2013 21:08
Operating System: mac

Re: how to alias???

Postby roosnanie » 09. June 2013 17:39

Is this the line of the file that I change?
<Directory "/Applications/XAMPP/xamppfiles/htdocs"> to look like <Alias "/php13/DEANNA'S/php13/"> OR DO I ADD THAT LINE UNDER THE DIRECTORY LINE? PLEASE AND THANK YOU .. DeAnna
roosnanie
 
Posts: 6
Joined: 07. June 2013 21:08
Operating System: mac

Re: how to alias???

Postby Altrea » 09. June 2013 21:02

roosnanie wrote:Is this the line of the file that I change?
<Directory "/Applications/XAMPP/xamppfiles/htdocs"> to look like <Alias "/php13/DEANNA'S/php13/">

No, you don't change anything, you have to add the Alias line.

roosnanie wrote:OR DO I ADD THAT LINE UNDER THE DIRECTORY LINE? PLEASE AND THANK YOU

Using all caps is considered yelling => Netiquette. I don't answer any yelling questions.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 24 guests