Apache crash after creating XAMPP alias directory
Posted: 30. August 2014 00:54
Hello all,
Thanks in advance for your help. I'm a XAMPP, French newbie ... and I want to create my web site on Dreamweaver using XAMPP server. The purpose was to let the source files of my web site in a different location from the XAMPP files.
Creating XAMPP Alias Directories, the first thing I do is add an alias folder to my XAMPP install, running on Windows 7, and create the following folder :C:\xampp\apache\conf\alias
Next, I change my Apache configuration file httpd.conf under : C:\xampp\apache\conf\ with Notepad
Once I’ve opened httpd.conf, I add the following to the end and save it :Include "conf/alias/*"
Now Apache suppose to look in the alias folder for more configuration files. This way I can add an alias by simply adding a new configuration file to the conf/alias/ folder.
Then, I add a XAMPP alias directory . I wrote the following instructions in a file named "fel.conf” and place it in the alias folder:
Alias /fel "C:/Dreamweaver_cs5/FEL/"
<Directory "C:/Dreamweaver_cs5/FEL/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Options Indexes FollowSymLinks MultiViews
Options All
Order allow,deny
Allow from all
Require All granted
</Directory>
Alias /dev "C:\users\foo\programming\dev"
After that I restart Apache and it crashes down with this comment :
00:36:45 [Apache] Status change detected: running
00:36:46 [Apache] Status change detected: stopped
00:36:46 [Apache] Error: Apache shutdown unexpectedly.
00:36:46 [Apache] This may be due to a blocked port, missing dependencies,
00:36:46 [Apache] improper privileges, a crash, or a shutdown by another method.
00:36:46 [Apache] Press the Logs button to view error logs and check
00:36:46 [Apache] the Windows Event Viewer for more clues
00:36:46 [Apache] If you need more help, copy and post this
00:36:46 [Apache] entire log window on the forums
In addition, I have an issue with the error log. My error log file is empty !!!
So the Windows events are the following ones :
System
- Provider
[ Name] Apache Service
- EventID 3299
[ Qualifiers] 0
Level 2
Task 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2014-08-29T22:36:45.000000000Z
EventRecordID 74041
Channel Application
Computer fanffan-PC
Security
[i]- EventData
The Apache service named
reported the following error: >>>
AH00526: Syntax error on line 1 of C:/xampp/apache/conf/alias/fel.conf:
+ System
- Provider
[ Name] Apache Service
- EventID 3299
[ Qualifiers] 0
Level 2
Task 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2014-08-29T21:59:13.000000000Z
EventRecordID 74029
Channel Application
Computer fanffan-PC
Security
- EventData
The Apache service named
reported the following error: >>>
Alias takes two arguments, a fakename and a realname [/i]
Please could you help me ... !!!!
Fanffan34
Thanks in advance for your help. I'm a XAMPP, French newbie ... and I want to create my web site on Dreamweaver using XAMPP server. The purpose was to let the source files of my web site in a different location from the XAMPP files.
Creating XAMPP Alias Directories, the first thing I do is add an alias folder to my XAMPP install, running on Windows 7, and create the following folder :C:\xampp\apache\conf\alias
Next, I change my Apache configuration file httpd.conf under : C:\xampp\apache\conf\ with Notepad
Once I’ve opened httpd.conf, I add the following to the end and save it :Include "conf/alias/*"
Now Apache suppose to look in the alias folder for more configuration files. This way I can add an alias by simply adding a new configuration file to the conf/alias/ folder.
Then, I add a XAMPP alias directory . I wrote the following instructions in a file named "fel.conf” and place it in the alias folder:
Alias /fel "C:/Dreamweaver_cs5/FEL/"
<Directory "C:/Dreamweaver_cs5/FEL/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Options Indexes FollowSymLinks MultiViews
Options All
Order allow,deny
Allow from all
Require All granted
</Directory>
Alias /dev "C:\users\foo\programming\dev"
After that I restart Apache and it crashes down with this comment :
00:36:45 [Apache] Status change detected: running
00:36:46 [Apache] Status change detected: stopped
00:36:46 [Apache] Error: Apache shutdown unexpectedly.
00:36:46 [Apache] This may be due to a blocked port, missing dependencies,
00:36:46 [Apache] improper privileges, a crash, or a shutdown by another method.
00:36:46 [Apache] Press the Logs button to view error logs and check
00:36:46 [Apache] the Windows Event Viewer for more clues
00:36:46 [Apache] If you need more help, copy and post this
00:36:46 [Apache] entire log window on the forums
In addition, I have an issue with the error log. My error log file is empty !!!
So the Windows events are the following ones :
System
- Provider
[ Name] Apache Service
- EventID 3299
[ Qualifiers] 0
Level 2
Task 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2014-08-29T22:36:45.000000000Z
EventRecordID 74041
Channel Application
Computer fanffan-PC
Security
[i]- EventData
The Apache service named
reported the following error: >>>
AH00526: Syntax error on line 1 of C:/xampp/apache/conf/alias/fel.conf:
+ System
- Provider
[ Name] Apache Service
- EventID 3299
[ Qualifiers] 0
Level 2
Task 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2014-08-29T21:59:13.000000000Z
EventRecordID 74029
Channel Application
Computer fanffan-PC
Security
- EventData
The Apache service named
reported the following error: >>>
Alias takes two arguments, a fakename and a realname [/i]
Please could you help me ... !!!!
Fanffan34