Forum OpenACS Q&A: ads gif

Collapse
Posted by Budi Wiyono on
Dear All,

I'm confused, why http://127.0.0.1/ads/scorecard.gif coldnot
display properly ?

Collapse
2: Response to ads gif (response to 1)
Posted by Rocael Hernández Rizzardini on
What exactly do you mean with: couldn't display properly?
Collapse
3: Response to ads gif (response to 1)
Posted by Budi Wiyono on
the image could not display on my browser.
Collapse
4: Response to ads gif (response to 1)
Posted by Dave Bauer on
Is that image in the ads directory?
Collapse
5: Response to ads gif (response to 1)
Posted by Sam Snow on
Make sure that the owner and permissions are set up correctly for both the file and the directory the file is in.

Here is a question for you-- what do you get when you go to http://127.0.0.1/ads/ ?

You can look at the other files and directories to figure out how they need to be set up.

Collapse
6: Response to ads gif (response to 1)
Posted by Rocael Hernández Rizzardini on
In order to help you do this:

1. open with your browser the image

if you can't probably the image is damage...

2. open the directory of the webserver (as Sam said) http://127.0.0.1/ads/

if you can't you have a configuration problem???

3. open the image directly http://127.0.0.1/ads/yourimage.gif

if you can't you have a configuration problem???

tell us what happen!

Collapse
7: Response to ads gif (response to 1)
Posted by Budi Wiyono on
I open url like this: http://127.0.0.1/ads/arsdigita.gif

But the image could not appear (broken link).

With configuration like bellow:

1. There is 2 images (default from OpenACS package).

[root]# ls -l /var/opt/www/openacs/www/ads

total 28

-rw-r--r--    1 nsadmin  nsadmin    12170 Jan 28  2000 arsdigita.gif
-rw-r--r--    1 nsadmin  nsadmin        62 Jan 28  2000 readme.txt
-rw-r--r--    1 nsadmin  nsadmin      8965 Jan 28  2000 scorecard.gif

2. Here is my httpd.conf:

  AolServerConf config_file  /etc/opt/openacs-325/nsd.ini
#
  ServerAdmin admin@localhost
  ServerName localhost
  ErrorLog /usr/local/apache_1.3.20/logs/openacs_error_log
  DocumentRoot "/var/opt/www/openacs/www"
#
  <Directory "/var/opt/www/openacs/www">
    Options Indexes FollowSymLinks MultiViews ExecCGI
    DirectoryIndex index.tcl index.adp index.shtml index.html index.htm
    AddHandler adp adp
    AddHandler aolserver tcl
  </Directory>
</VirtualHost>

Collapse
8: Response to ads gif (response to 1)
Posted by Rocael Hernández Rizzardini on
What about the steps I wrote above, the first one works??
and the scorecard.gif works??
Collapse
9: Response to ads gif (response to 1)
Posted by David Walker on
Your config file looks suspiciously like an Apache config file and not an AOLServer config file.
Collapse
10: Response to ads gif (response to 1)
Posted by Budi Wiyono on
I forgot...

I'm using the latest of mod_aolserver + apache_1.3.20 running on Redhat 6.2.