Back to top

Autore Topic: Levare index.php e server no apache  (Letto 3502 volte)

Offline filippo10

  • Esploratore
  • **
  • Post: 142
    • Mostra profilo
Levare index.php e server no apache
« il: 29 Gen 2014, 10:33:58 »
Ciao a tutti, sto creando il sito (ariesidea.com) ma ho un problema. Quando si accede mi da in nomesito/index.php/

Ho provato a leggere tutte le discussioni sul forum e ho letto anche la guida che avete fatto dove ho attivato la voce "Riscrivi URL SEF" ma non avendo apache XXXXX (hosting) non me lo fa fare.

Come posso fare? Qualcuno mi può aiutare?

Grazie

Edited: eliminato riferimento commerciale
« Ultima modifica: 09 Feb 2014, 12:17:24 da filippo10 »

Offline floyd1616

  • Appassionato
  • ***
  • Post: 497
  • Sesso: Maschio
    • Mostra profilo
Re:Levare index.php e server no apache
« Risposta #1 il: 29 Gen 2014, 11:58:39 »

[size=78%]Ciao, la prima cosa che mi viene in mente è quella di contattare il tuo amministratore di server e chiedere se hanno problemi con la riscrittura delle url, visto che hai attivato il componente "URL SEF" dal pannello di amm. di joomla.[/size]

Quali specifiche ha il server?

Offline filippo10

  • Esploratore
  • **
  • Post: 142
    • Mostra profilo
Re:Levare index.php e server no apache
« Risposta #2 il: 29 Gen 2014, 14:44:22 »
Ciao, l'hosting è XXXx

Edited: per cortesia evita come da regolamente di citare servizi commerciali
Specifiche del server significa se è un server windows o linux, che versione di php, etc etc.
Il nome dell'host non serve.
« Ultima modifica: 29 Gen 2014, 14:56:56 da maicolstaip »

mau_develop

  • Visitatore
Re:Levare index.php e server no apache
« Risposta #3 il: 29 Gen 2014, 15:16:50 »
Joomla richiede server apache
può funzionare su server windows IIS, se cerchi "joomla su server windows" trovi tante cose

Offline filippo10

  • Esploratore
  • **
  • Post: 142
    • Mostra profilo
Re:Levare index.php e server no apache
« Risposta #4 il: 30 Gen 2014, 12:16:25 »
Allora, il serve è Apache e linux hosting. Li ho appena contattati e mi hanno detto che il probelma probabilmente è nel file .htaccess

Vi faccio il copia incolla del mio sperando mi possiate aiutare:

Codice: [Seleziona]
##
# @package        Joomla
# @copyright    Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
# @license        GNU General Public License version 2 or later; see LICENSE.txt
##

##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
##

## Can be commented out if causes errors, see notes above.
#Options +FollowSymLinks

## Mod_rewrite in use.

RewriteEngine On

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.

## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects

##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##

# RewriteBase /

## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.

Allo stato attuale appena abilito il Riscrivi URL SEF mi da errore 404 e non fa niente.

Grazie a chi mi aiuta.


Offline filippo10

  • Esploratore
  • **
  • Post: 142
    • Mostra profilo
Re:Levare index.php e server no apache
« Risposta #6 il: 30 Gen 2014, 12:52:36 »
Le ho già lette quelle guide ma non ho risolto.

Offline maicolstaip

  • Global Moderator
  • Instancabile
  • ********
  • Post: 17623
  • Sesso: Maschio
    • Mostra profilo
Re:Levare index.php e server no apache
« Risposta #7 il: 30 Gen 2014, 13:30:12 »
Prova a decommentare questo

# RewriteBase /
Non si risponde a PM tecnici. Postate sul forum. Grazie.

Offline filippo10

  • Esploratore
  • **
  • Post: 142
    • Mostra profilo
Re:Levare index.php e server no apache
« Risposta #8 il: 30 Gen 2014, 14:45:41 »
Grandissimo Maicol, era quello. Grazie a te e a tutti.

Offline maicolstaip

  • Global Moderator
  • Instancabile
  • ********
  • Post: 17623
  • Sesso: Maschio
    • Mostra profilo
Re:[RISOLTO] Levare index.php e server no apache
« Risposta #9 il: 30 Gen 2014, 14:48:24 »
Bene,
la prossima volta leggi bene le guide perchè è impossibile che tu non lo abbia visto ;)

Ciao!
Non si risponde a PM tecnici. Postate sul forum. Grazie.

Offline alan.lama

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re:[RISOLTO] Levare index.php e server no apache
« Risposta #10 il: 30 Gen 2014, 15:52:39 »
ciao, ho visto il sito che stai creando, che bello il template e i social che hai sulla sinistra.
come hai fatto a metterli?
sono dei componenti?
grazie

Offline filippo10

  • Esploratore
  • **
  • Post: 142
    • Mostra profilo
Re:Levare index.php e server no apache
« Risposta #11 il: 09 Feb 2014, 12:21:31 »
Ragazzi ho di nuovo questo problema ma stavolta con altro sito.. Il file htaccess è il solito in cui su un sito funziona e sull'altro no.

Mi spiego, su questo sito attuale quando vado a modificare il file htaccess decommentando la riga sopra mi funziona la home page ma come clicco su qualsiasi articolo/menu allora non mi fa niente restituendomi un erorre.

Allora ho provato quindi a lasciare il file così com'era (senza decommentarlo) ma niente non funziona uguale.

Carneade please!



Offline filippo10

  • Esploratore
  • **
  • Post: 142
    • Mostra profilo
Re:Levare index.php e server no apache
« Risposta #13 il: 09 Feb 2014, 13:26:27 »
Purtroppo ho già letto e spulciato tutto e fatto infinite prove anche decommentando la riga 20 (anzi la 19 nel mio caso) ma niente.. Non risolvo.

Offline maicolstaip

  • Global Moderator
  • Instancabile
  • ********
  • Post: 17623
  • Sesso: Maschio
    • Mostra profilo
Re:Levare index.php e server no apache
« Risposta #14 il: 09 Feb 2014, 19:03:20 »
Guarda, senza addentrarmi in sofismi saresti il primo in questo forum a non far funzionare il SEO seguendo quelle guide.

Riguarda bene tutto, riparti da zero e leggi e metti in pratica tutti i suggerimenti e vedrai che funziona.
Ciao!
Non si risponde a PM tecnici. Postate sul forum. Grazie.

Offline filippo10

  • Esploratore
  • **
  • Post: 142
    • Mostra profilo
Re:Levare index.php e server no apache
« Risposta #15 il: 10 Feb 2014, 19:18:16 »
Io invece, purtroppo, non sono riuscito a risolvere. Ho provato a decommentare e ricommentare qualsiasi cosa di:
# RewriteEngine On
e

Options + FollowSymLinks


Eppure, ancora niente e l'unica cosa che trovo è: La mia home che funziona e quando clicco su un link (categoria) mi da: 404 not found

 The requested URL was not found on this server.

Offline bigportal

  • Esploratore
  • **
  • Post: 52
  • Sesso: Maschio
    • Mostra profilo
Re:Levare index.php e server no apache
« Risposta #16 il: 16 Apr 2014, 12:41:17 »
Immagino che tu abbia risolto il problema... In ogni caso anche a me è successa la stessa cosa tempo fa ed ho risolto abilitando il plugin redirect e reindirizzando le pagine verso l'url corretto.
Visita questi siti web e dimmi cosa che ne pensi:
http://www.bigportal.it

 



Web Design Bolzano Kreatif