[eluser]1cookie[/eluser]
hi
[quote author="pickupman" date="1284410329"]That's not the right path.
Code:
etc/apache2/conf.d/apache2-doc
It's in
Code:
/etc/apache2/sites-available/default
[/quote]
I'm now editing the 'default' file, located as above. Following my edits, the file now looks like:
Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
I save the changes, restart Apache, and run the script to get:
Code:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.14 (Ubuntu) Server at localhost Port 80
Upon reading the server error.log file, i see:
Code:
[Mon Sep 13 16:51:59 2010] [alert] [client 127.0.0.1] /var/www/CodeIgniter/.htaccess: <IfModule> directive requires additional arguments
Doe's this mean (my guess) we should go back to the original .htaccess file?