woocash87 Posted June 23, 2011 Report Share Posted June 23, 2011 Witam! Ostatnio w ramach ćwiczeń postanowiłem zrobić stronkę flash. Mój problem a właściwie detal który chciał bym zmienić to długość adresu która wygląda powiedzmy tak: www.kokobongo.pl/Main.html. Zamiast tego chciałem żeby było widoczne samo kokobongo.pl. Próbowałem różnych technik ale żadna nie zadziałała. Link to comment Share on other sites More sharing options...
[Ekspert] Mormegil Posted June 23, 2011 Report Share Posted June 23, 2011 Domyślnie otwieranym plikiem jest index.html. Link to comment Share on other sites More sharing options...
woocash87 Posted June 24, 2011 Author Report Share Posted June 24, 2011 tak tylko program wyeksportował tak wyglądającą wersje i zamiast dłubaniu w kodzie sądziłem że da się zmienić to jakąś szybką komendą serwera apache czy małym dopiskiem gdzieś w pliku. Proszę o radę Link to comment Share on other sites More sharing options...
raven4444 Posted June 25, 2011 Report Share Posted June 25, 2011 Jako index.html weź. <!doctype html> <html lang='pl'> <head> <meta http-equiv='refresh' content='0;url=Main.html'> <title>Przekierowanie adresu</title> </head> <body> </body> </html> Link to comment Share on other sites More sharing options...
woocash87 Posted June 27, 2011 Author Report Share Posted June 27, 2011 To właśnie jeden ze sposobów który próbowałem i nadal flash wyświetlany jest jako www.bleble.pl/Main.html Link to comment Share on other sites More sharing options...
raven4444 Posted June 27, 2011 Report Share Posted June 27, 2011 No bo to tak działa, przekierowuje z index.html czyli kokobongo.pl na kokobongo.pl/main.html . Weź dodaj do .htaccess DirectoryIndex Main.html Link to comment Share on other sites More sharing options...
woocash87 Posted June 27, 2011 Author Report Share Posted June 27, 2011 teraz dostaje komunikat "You don't have permission to access / on this server." Link to comment Share on other sites More sharing options...