Skocz do zawartości

Fatalcoder

Użytkownicy
  • Zawartość

    2
  • Rejestracja

  • Ostatnio

Reputacja

0 Normalna

1 obserwujący

O Fatalcoder

  • Ranga
    Nowy użytkownik

Informacje osobiste

  • Imię
    Dawid

Informacje profilowe

  • Płeć
    Mężczyzna
  • Skąd
    Kielce
  1. Object not found. Problem z wyświetlaniem podstron.

    Faktycznie działa w ten sposób. Możesz mi przybliżyć jak uruchomić mod_rewrite? bo sam moduł jak widzę jest załadowany. w pliku: /etc/httpd/conf.d/00_mod_rewrite.conf jest taka linijka tylko: LoadModule rewrite_module modules/mod_rewrite.so Próbowałem szukać czegoś ale z nikłym skutkiem niestety. --- Jeśli dobrze znalazłem to w pliku /etc/httpd/conf.d/10_common.conf # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/home/services/httpd/html" # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # features. # <Directory /> Options FollowSymLinks AllowOverride All <IfModule mod_authz_host.c> Order deny,allow Deny from all </IfModule> </Directory> # # This should be changed to whatever you set DocumentRoot to. # <Directory "/home/services/httpd/html"> # # 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 # # 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 None # # Controls who can get stuff from this server. # <IfModule mod_authz_host.c> Order allow,deny Allow from all </IfModule> </Directory> linię 47 AllowOverride None trzeba zamienić na AllowOverride All
  2. Witam, mam problem ze szkolnym serwerem. Otóż piszę nową stronę szkolną w oparciu o Zend Framework. Na 'normalnym' hostingu od mojego usługodawcy wszystko jest świetnie, ale gdy przeniosłem skrypt na serwer szkolny zaczęły się schody, pewnie z powodu konfiguracji. Strona aktualnie siedzi pod adresem: http://www.zsp1.jedrzejow.com.pl/www/ Strona główna działa jak najbardziej poprawnie, lecz gdy wybieramy którąś z podstron wyświetla się strona błędu: http://www.zsp1.jedrzejow.com.pl/www/index/o-szkole Wnioskuję że może to być spowodowane albo htaccess albo konfiguracją apache'a. PHPINFO: http://www.zsp1.jedrzejow.com.pl/phpinfo.php .htaccess w katalogu root/www: RewriteEngine On RewriteBase /www/ RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] apache.conf # $Id: apache-httpd.conf,v 1.47 2006/01/07 23:52:27 glen Exp $ # # This is the main Apache HTTP server configuration file. # It contains the configuration directives that give the server its instructions. # # This config aims to be clean and readable. # See <URL:http://httpd.apache.org/docs/2.2> for detailed information. # In particular, see # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> # for a discussion of each configuration directive. ServerRoot "/etc/httpd" DefaultType text/plain # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. User http Group http # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the <VirtualHost> # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses. #Listen 192.168.1.1:80 Listen 83.19.244.182:80 Listen 192.168.1.1:80 # ServerAdmin: Your address, where problems with the server should be # e-mailed. This address appears on some server-generated pages, such # as error documents. e.g. admin@your-domain.com # ServerAdmin root@zsp1.jedrzejow.com.pl # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If your host doesn't have a registered DNS name, enter its IP address here. # ServerName www.zsp1.jedrzejow.com.pl # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a <VirtualHost> # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a <VirtualHost> # container, that host's errors will be logged there and not here. ErrorLog logs/error_log # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5 UseCanonicalName On AccessFileName .htaccess ServerTokens Full ServerSignature On HostnameLookups Off # Include other modules and packages config. Include conf.d/*.conf # Include webapps config Include webapps.d/*.conf <IfModule alias_module> # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the target directory are treated as applications and # run by the server when requested rather than as documents sent to the # client. The same rules about trailing "/" apply to ScriptAlias # directives as to Alias. # ScriptAlias /cgi-bin/ "/home/services/httpd/cgi-bin/" <Directory "/home/services/httpd/cgi-bin"> AllowOverride None Options None <IfModule mod_authz_host.c> Order allow,deny Allow from all </IfModule> </Directory> </IfModule> Prosiłbym o jakąkolwiek pomoc w rozwiązaniu tego problemu. Mam ograniczone uprawnienia na serwerze więc zmiana w konfigach może potrwać około 1 dzień, ponieważ muszę poprosić admina o zmianę. Jeśli będą potrzebne jeszcze jakieś pliki to oczywiście udostępnię. Z góry dzięki
×