Finally, the DROP command removes the test database.
Operating Your LAMP Server
With the components of your LAMP server installed and running, you are ready to configure
Apache and try it out. For this example, Apache is set up to serve content for your own domain
using a feature called virtual hosting, after which you??™ll see how to install the Coppermine Photo
Gallery program, which enables you to create an online photo gallery on your LAMP server.
Editing Your Apache Configuration Files
The configuration files for Apache HTTPD are incredibly flexible, meaning that you can configure
the server to behave in almost any manner you want. This flexibility comes at the cost of increased
complexity in the form of a large number of configuration options (called directives), but in practice
there are only a few directives with which you??™ll need to be familiar.
See http://httpd.apache.org/docs/ for a complete list of directives supported
by Apache.
In Debian, the Apache configuration is stored in text files read by the Apache server, beginning
with /etc/apache/httpd.conf. Configuration is read from start to finish, with most directives
being processed in the order in which they are read.
Additional files may also be read based on the AccessConfig, ResourceConfig, and Include
directives.
Pages:
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209