About The Connection

Problems with the Windows version of XAMPP, questions, comments, and anything related.

About The Connection

Postby philweb.fritz » 27. November 2009 12:17

I changed the configuration in apache which I add an alias for my files in Drive H: like:
Code: Select all
<IfModule alias_module>
    #
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://localhost/bar

    #
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    #
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL.  You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.

    #
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client.  The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    #
    ScriptAlias /cgi-bin/ "C:/myfile/xampp/cgi-bin/"
   Alias "/new" "H:/File"
</IfModule>

<Directory "H:/File">
    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>


I can access my files but the problem is I can't access http://localhost/ and http://localhost/phpmyadmin/
I was suppose to update or add my database in phpmyadmin
Is there a mistake?..
newbie here...
happy to hear you Ideas.. thanks in advance
Fritz
philweb.fritz
 
Posts: 1
Joined: 27. November 2009 12:07

Re: About The Connection

Postby Izzy » 27. November 2009 23:11

Missing support info - what XAMPP version and which Windows OS?
So assuming latest stable XAMPP version.
I can access my files but the problem is I can't access http://localhost/ and http://localhost/phpmyadmin/
Why not? any clues in the \xampp\apache\logs\error.log file.

BTW perhaps put your Alias in the correct location in \xampp\apache\conf\extra\httpd-xampp.conf file and revert your httpd.conf file back to the default state.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 38 guests