Re: ubuntu server apache 2 wont load pictures from sub directory
Originally Posted by
ThaDoctor99
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/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>
is the in the /etc/apache2/sites-enabled/000-default.
This does not jive with the directory in question.
Originally Posted by
ThaDoctor99
Hmm I have all my data in a subdirectory under /var/www/ziggy-dog.eu/public_html/
Where should I go to add the configuration for that directory and what should I call that directory in the configuration
my images live at /var/www/ziggy-dog.eu/public_html/images/
I am not really that good with apache, and find the documentation really messy.
Have you added your own virtualhost file?
Please post output:
Code:
ls /etc/apache2/sites-enabled
Please read examples offered. Often times members offer help in the form of generic info, which in turn you need to apply to your specific situation.
Please also post output of:
Code:
ls -al /var/www/ziggy-dog.eu
Nothing is ever easy, but if it is difficult you must be doing it wrong.
Bookmarks